Sahih al-Bukhari — Holding Fast to the Qur'an and Sunnah — Hadith No: 7326
حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا سُفْيَانُ، عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم كَانَ يَأْتِي قُبَاءً مَاشِيًا وَرَاكِبًا.
Translation
Narrated Ibn `Umar:The Prophet (ﷺ) used to go to the Quba' mosque, sometimes walking, sometimes riding