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:655Muḥammad b. ʿAbdullāh b. Ḥawshab > ʿAbd al-Wahhāb > Ḥumayd > Anas

Anas said, "The Prophet ﷺ said, 'O Bani Salima! Don't you think that for every step of yours (that you take towards the mosque) there is a reward (while coming for prayer)?" Mujahid said: "Regarding Allah's Statement: "We record that which they have sent before (them), and their traces" (36.12). 'Their traces' means 'their steps.' " And Anas said that the people of Bani Salima wanted to shift to a place near the Prophet ﷺ but Messenger of Allah ﷺ disliked the idea of leaving their houses uninhabited and said, "Don't you think that you will get the reward for your footprints." Mujahid said, "Their foot prints mean their foot steps and their going on foot."  

البخاري:٦٥٥حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ حَوْشَبٍ قَالَ حَدَّثَنَا عَبْدُ الْوَهَّابِ قَالَ حَدَّثَنَا حُمَيْدٌ عَنْ أَنَسٍ قَالَ

قَالَ النَّبِيُّ ﷺ يَا بَنِي سَلِمَةَ أَلاَ تَحْتَسِبُونَ آثَارَكُمْ وَقَالَ مُجَاهِدٌ فِي قَوْلِهِ {وَنَكْتُبُ مَا قَدَّمُوا وَآثَارَهُمْ} قَالَ خُطَاهُمْ وَقَالَ ابْنُ أَبِي مَرْيَمَ أَخْبَرَنَا يَحْيَى بْنُ أَيُّوبَ حَدَّثَنِي حُمَيْدٌ حَدَّثَنِي أَنَسٌ أَنَّ بَنِي سَلِمَةَ أَرَادُوا أَنْ يَتَحَوَّلُوا عَنْ مَنَازِلِهِمْ فَيَنْزِلُوا قَرِيبًا مِنَ النَّبِيِّ ﷺ قَالَ فَكَرِهَ رَسُولُ اللَّهِ ﷺ أَنْ يُعْرُوا {الْمَدِينَةَ} فَقَالَ أَلاَ تَحْتَسِبُونَ آثَارَكُمْ قَالَ مُجَاهِدٌ خُطَاهُمْ آثَارُهُمْ أَنْ يُمْشَى فِي الأَرْضِ بِأَرْجُلِهِمْ