(50) باب فَضْلِ كَثْرَةِ الْخُطَا إِلَى الْمَسَاجِدِ
Jabir b. Abdullah reported:
There were some plots vacant around the mosque. Banu Salama decided to shift (to this land) and come near the mosque. This (news) reached the Messenger of Allah (ﷺ) and he said to them (Banu Salama): I have received (information) that you intend to shift near the mosque. They said: Yes, Messenger of Allah, we have taken this decision. Upon this he (the Holy Prophet) said: O Banu Salama, live in your houses, for your steps are recorded; live in your houses, for your steps are recorded.
Reference: Sahih Muslim 665 a
In-book reference: Book 5, Hadith 355
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1407