17:79 And from the night you shall reflect upon it additionally for yourself, perhaps your Lord would GRANT YOU a station that is praiseworthy (Maqam-e-Mahmood).
17:80 And say: “My Lord, admit me an entrance of truth and let me exit an exit of truth, and GRANT ME from Yourself a support to VICTORY.”
The hadith followers take the words Maqam-e-Mahmood (station that is praiseworthy) for the position of intercession of the Prophet on the Day of Judgement and but the context of the Quran indicates something different. This verse was revealed at the time of hijra, when Muhammad was about to migrate from Makkah to Madina. From a purely secular perspective, the situation was such that the Muslims had been uprooted from their land and the mission of Muhammad was essentially a failure. In surah Kauthar Allah refers to the unbelievers asserting that Muhammad was cut-off, whether from his homeland, people or the symbol of monotheism of Abraham, the Ka’aba itself.
The Quran is essentially foretelling that the mission of Muhammad has actually been granted a manifest victory. This hijrah is a means in which the truth will prevail over falsehood and Muhammad and his mission will be victorious. Not only will this happen, but the whole of Arabia will know the name of Muhammad and mentioned his name with honor and praise him. In surah Inshirah 94, Allah reminds Muhammad how he has raised his name with honor and respect. This surah was revealed when the religion of Islam was beginning to spread like wild-fire all over Arabia and Muhammad’s name wasn’t confined to Makkah and Madina, but all of Arabia.
The words Maqam-e-Mahmood (station that is praiseworthy) is referred to the conquest of Makkah.