مشكوة المصابيح Mishkat al-Masabih كتاب الصلاة The Book of Prayer
(ذَهَابُ ٱلنَّبِيِّ ٱلْكَرِيمِ صَلَّى ٱللَّهُ عَلَيْهِ وَسَلَّمَ إِلَى مَسْجِدِ قُبَاءَ)

(The noble Prophet, peace be upon him, going to Quba Mosque)

1 hadith
Hadith 695
وَعَنِ ابْنِ عُمَرَ قَالَ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَأْتِي مَسْجِدَ قبَاء كل سبت مَا شيا وراكبا فَيصَلي فِيهِ رَكْعَتَيْنِ
Ibn ‘Umar said that the Prophet used to go to the mosque in Quba'* every Saturday, walking and riding, and he would pray two rak'as in it. * The village outside Medina where the Prophet stayed a few days before entering Medina at the time of the Hijra. Before leaving he laid the foundations of a mosque there. Al-Qur’an; 9:108 is said to refer to this mosque. In the preceding verse reference is made to another mosque which had been built in a spirit of opposition. (Bukhari and Muslim.)
Hadith Reference Mishkat al-Masabih / The Book of Prayer / Hadith: 695
Hadith Grading الألبانی: مُتَّفَقٌ عَلَيْهِ  |  زبیر علی زئی: متفق عليه
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «متفق عليه، رواه البخاري (1193) و مسلم (516/ 1399، 521/ 1399)»