Usually, the mortgage amount should not exceed seven times the borrower's annual income.
If your monthly income is 15,000 dirhams, then the maximum mortgage amount = 15,000 x 12 months x 7 years = 2,520,000 dirhams.
Also, to calculate the maximum mortgage amount, the bank takes into account not only income, but also monthly mandatory expenses, such as payments on other loans.