Sahih al-Bukhari 1193
Book 20: Virtues of Prayer at Masjid Makkah and Madinah · Narrated by `Abdullah bin Dinar
Arabic
حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ مُسْلِمٍ، عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ قَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم يَأْتِي مَسْجِدَ قُبَاءٍ كُلَّ سَبْتٍ مَاشِيًا وَرَاكِبًا. وَكَانَ عَبْدُ اللَّهِ ـ رضى الله عنهما ـ يَفْعَلُهُ.
English translation
Narrated `Abdullah bin Dinar:Ibn `Umar said, "The Prophet (ﷺ) used to go to the Mosque of Quba every Saturday (sometimes) walking and (sometimes) riding." `Abdullah (Ibn `Umar) used to do the same
Reference: Sahih al-Bukhari 1193, Book of Virtues of Prayer at Masjid Makkah and Madinah. English translation by Dr. Muhammad Muhsin Khan.