The virtue of praying in the Prophet's Mosque
The Prophet ﷺ said: "A prayer in this mosque of mine is better than a thousand prayers in any other mosque, except al-Masjid al-Haram" (Sahih al-Bukhari 1190; Sahih Muslim 1394). This is a great opportunity, so a visitor should try to keep the five prayers in congregation there.
Scholars differ on whether the multiplied reward applies to voluntary prayers as well as obligatory ones, and on whether it covers the later expansions of the mosque. Many say it includes the whole mosque as it stands today. A popular claim that praying forty consecutive prayers there guarantees freedom from the Fire is not established as authentic, so no one should think that missing one of them spoils the visit.



