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.
bayhaqi:6145

[Machine] The Prophet ﷺ used to go out walking and come back walking. Abu Sa'd al-Malini informed us, Abu Ahmad ibn 'Adi informed us, Abu Yahya al-Harrani narrated to us, Hisham ibn 'Ammar narrated to us, 'Abdul Rahman ibn Sa'd ibn 'Ammar informed me, my father told me about his forefathers and he mentioned it, Abu al-Husayn ibn al-Fadl al-Qattan informed me, Ahmad ibn 'Uthman ibn Ja'far al-Muqri narrated to us, Abu Ja'far Muhammad ibn 'Ali al-Warraq narrated to us, Abu Ghassan and Mu'awiya ibn 'Amr said narrated to us, Zuhayr narrated to us, Abu Ishaq narrated from al-Harith from Ali who said: It is from the Sunnah for a man to walk to the mosque.  

البيهقي:٦١٤٥وَرُوِي فِي حَدِيثِ سَعْدِ الْقَرَظِ

أَنَّ النَّبِيَّ ﷺ كَانَ يَخْرُجُ مَاشِيًا وَيَرْجِعُ مَاشِيًا أَخْبَرَنَاهُ أَبُو سَعْدٍ الْمَالِينِيُّ أنبأ أَبُو أَحْمَدَ بْنُ عَدِيٍّ أنبأ أَبُو يَحْيَى الْحَرَّانِيُّ ثنا هِشَامُ بْنُ عَمَّارٍ ثنا عَبْدُ الرَّحْمَنِ بْنُ سَعْدِ بْنِ عَمَّارِ بْنِ سَعْدٍ حَدَّثَنِي أَبِي عَنْ آبَائِهِ فَذَكَرَهُ أَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ الْفَضْلِ الْقَطَّانُ أنبأ أَحْمَدُ بْنُ عُثْمَانَ بْنِ جَعْفَرٍ الْمُقْرِئُ ثنا أَبُو جَعْفَرٍ مُحَمَّدُ بْنُ عَلِيٍّ الْوَرَّاقُ ثنا أَبُو غَسَّانَ وَمُعَاوِيَةُ بْنُ عَمْرٍو قَالَا ثنا زُهَيْرٌ ثنا أَبُو إِسْحَاقَ عَنِ الْحَارِثِ عَنْ عَلِيٍّ قَالَ مِنَ السُّنَّةِ أَنْ يَمْشِيَ الرَّجُلُ إِلَى الْمُصَلَّى