Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:1193Mūsá b. Ismāʿīl > ʿAbd al-ʿAzīz b. Muslim > ʿAbdullāh b. Dīnār > Ibn ʿUmar > Kān

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.  

البخاري:١١٩٣حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ مُسْلِمٍ عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ عَنِ ابْنِ عُمَرَ ؓ قَالَ

كَانَ النَّبِيُّ ﷺ يَأْتِي مَسْجِدَ قُبَاءٍ كُلَّ سَبْتٍ مَاشِيًا وَرَاكِبًا وَكَانَ عَبْدُ اللَّهِ ؓ يَفْعَلُهُ