Hadithcore
Riyad as-Salihin, 374

Ibn 'Umar (May Allah be pleased with them) reported:

The Prophet (ﷺ) used to visit Quba', either mounted or on foot and would offer two Rak'ah prayer in the mosque there. <b>[Al-Bukhari and Muslim]</b>. Another narration is: The Prophet (ﷺ) used to visit the mosque at Quba' every Saturday (i.e., every week) either mounted or on foot, and Ibn 'Umar (May Allah be pleased with them) used to do the same thing.

وعن ابن عمر رضي الله عنهما قال‏:‏ كان النبي صلى الله عليه وسلم يزور قباء راكبًا وماشيًا، فيصلي فيه ركعتين، ‏(‏‏(‏متفق عليه‏)‏‏)‏ ‏.‏ وفي رواية‏:‏ كان النبي صلى الله عليه وسلم يأتي مسجد قباء كل سبت راكبًا وماشيًا وكان ابن عمر يفعله ‏.‏

References1 variant
In-Book Reference
Introduction, Hadith 374
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) It is recommended to visit Qubā’ Mosque, emulating the practice of the Messenger of Allah (may Allah’s peace and blessings be upon him).<br> 2) ‘Abdullah ibn ‘Umar (may Allah be pleased with him and his father) was so keen to follow the example of the Prophet (may Allah’s peace and blessings be upon him), which should be the attitude of the successful believers.<br> <br> <b>Benefit:</b><br> The merit of Qubā’ Mosque was highlighted in many Hadiths, one of which is the one where Abu Umāmah reported: “The Messenger of Allah (may Allah’s peace and blessings be upon him) said: ‘Whoever performs ablution at home and then comes to the mosque of Qubā’ and offers prayer in it shall have a reward like that of ‘Umrah.’” [Narrated by Ahmad with an authentic chain of narration]<br> Ibn Kathir (may Allah have mercy upon him) said in his Tafsir book:<br> “Allah urged his Prophet (may Allah’s peace and blessings be upon him) to pray in the mosque of Qubā’ which was founded on piety ever since the first day...Therefore He said: {A mosque that was founded on piety from the first day is more deserving for you to pray therein}. The mosque referred to in this context is the mosque of Qubā’... A group of the righteous predecessors stated that the mosque mentioned in the verse is Qubā’ Mosque... However, according to an authentic Hadith: “The mosque that was founded on piety is the mosque of the Messenger of Allah which stands in the middle of Madinah.” This is a correct statement, and there is no contradiction between the two views, for if the mosque of Qubā’ was founded on piety from the first day, then this is true of the mosque of the Messenger of Allah (may Allah’s peace and blessings be upon him) with greater reason and more deservingly.<br> <br> <b>Words in the Hadith:</b><br> Qubā’ is a mosque located in one of the districts of Madinah, about 3 kilometers from the Prophet’s Mosque. It is the mosque referred to in the following verse: {A mosque that was founded on piety from the first day is more deserving for you to pray therein}.
Related hadiths2
Compare isnād across 2 related chains →