Hadith 7.1
Prayer
Ibn ‘Umar said that the Prophet (ﷺ) used to go to the mosque in Quba'* every Saturday, walking and riding, and he would pray two <i>rak'as</i> 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 gradings, numbering and translations can differ between editions. For legal rulings or detailed interpretation, consult qualified scholarship and the referenced edition.