Hadithcore
Riyad as-Salihin, 136

Jabir (May Allah be pleased with him) reported:

The tribe Banu Salimah wanted to move nearer to the mosque. On learning this Messenger of Allah (ﷺ) said to them, "I heard that you intend to move nearer to the mosque". They said, "That is so, O Messenger of Allah, we do want to do that". He said, "O Banu Salimah, keep to your homes, your steps (to the mosque) are recorded". <b>[Muslim]</b>. Another narration says: "There is for every step (towards the mosque) a degree (of reward) for you". <b>[Muslim]</b>.

العشرون‏:‏ عنه قال‏:‏ أراد بنو سلمة أن ينقلوا قرب المسجد فبلغ ذلك رسول الله صلى الله عليه وسلم، فقال لهم‏:‏ ‏"‏ إنه قد بلغني أنكم تريدون أن تنتقلوا قرب المسجد‏؟‏‏"‏ فقالوا‏:‏ نعم يارسول الله قد أردنا ذلك، فقال‏:‏‏"‏بني سلمة دياركم؛ تكتب آثاركم ‎، دياركم، تكتب آثاركم‏"‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Introduction, Hadith 136
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) Taking many steps to the masjid is among the means to the expiation of sins and elevation of ranks.<br> 2) It instructs verifying any piece of news before making a judgment, as reflected in the Prophet’s question to them before he passed his judgment.<br> <br> <br> <br> <b>Words in the Hadith:</b><br> Stay in your neighborhood, your footsteps are recorded for you: do not move from your houses even if they were distant from the masjid, as your footsteps are recorded as good deeds; each step counts as a good deed or a higher rank.
Related hadiths2
Compare isnād across 2 related chains →