On this day in 621, the prophet Mohammed ascended to heaven, stopping in Jerusalem at the al-Asqa mosque along the way.
According to Hadith reports, Gabriel took the Prophet at night from the Ka’bah to the mosque in Jerusalem on a buraq (magic horse). On reaching Jerusalem the Prophet along with other Prophets offered Prayers. Gabriel then took him to the heavens and the Prophet met several great Prophets in different heavenly spheres. (Adam, John the Baptist, Jesus, Joseph, Idris, Aaron, Moses & Abraham.)
Finally, he reached the highest point in the heavens and was graced with an experience of the Divine Presence. On that occasion the Prophet received a number of directives including that Prayers were obligatory five times a day. (Al-Bukhari, K. Manaqib al -Ansar, ‘Bab al-Mi’raj ; K. al-Tawhid, ‘Bab Kallama Musa Taklima‘ – Ed.)
Thereafter, the Prophet returned from the heavens to Jerusalem, and from there to the Holy Mosque in Makka. The following day, the unbelievers in Makka found the whole narration utterly amusing. In fact, even the faith of some Muslims was shaken because of the highly extraordinary nature of the account.
Allah tells Muhammad that his people must pray 50 times a day, but as Muhammad descends back to Earth, he meets Moses who tells Muhammad to go back to God and ask for fewer prayers because 50 is too many. Muhammad goes between Moses and God nine times, until the prayers are reduced to the five daily prayers, which God will reward tenfold. Again, Moses told Muhammad to ask for even fewer but Muhammad felt ashamed and said that even with fewer prayer times, his followers might not even perform diligently and said he is thankful for the five. —Wikipedia