Hadithcore
Sahih al-Bukhari, 1887
sahih

Narrated Anas:

(The people of) Bani Salama intended to shift near the mosque (of the Prophet) but Allah's Messenger (ﷺ) disliked to see Medina vacated and said, "O the people of Bani Salama! Don't you think that you will be rewarded for your footsteps which you take towards the mosque?" So, they stayed at their old places.

حَدَّثَنَا ابْنُ سَلاَمٍ، أَخْبَرَنَا الْفَزَارِيُّ، عَنْ حُمَيْدٍ الطَّوِيلِ، عَنْ أَنَسٍ ـ رضى الله عنه ـ قَالَ أَرَادَ بَنُو سَلِمَةَ أَنْ يَتَحَوَّلُوا، إِلَى قُرْبِ الْمَسْجِدِ، فَكَرِهَ رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ تُعْرَى الْمَدِينَةُ، وَقَالَ ‏

‏ يَا بَنِي سَلِمَةَ‏.‏ أَلاَ تَحْتَسِبُونَ آثَارَكُمْ ‏

‏‏.‏ فَأَقَامُوا‏.‏

References2 variants
In-Book Reference
Book 29, Hadith 21
USC-MSA web (English) reference
Vol. 3, Book 30, Hadith 111 (deprecated numbering scheme)
Sharh · explanationclick to expand
Al-Madeenah is one of the best, most honored, and purified lands on earth, and the Prophet ﷺ loved it, and keenly sought to populate and fortify it. In this hadeeth, Anas ibn Maalik (may Allah be pleased with him) related that when Banoo Salamah, from the Ansaar, wanted to move out of their houses to settle in the outskirts of Al-Madeenah near the Prophet’s Mosque, he ﷺ disliked that some parts of Al-Madeenah should be deserted. He ﷺ said to them: "O people of Banoo Salamah! Do you not think that you will be rewarded for your footsteps which you take towards the mosque?" It means, ‘Do you notaspire to the rewards earned for walking to the (distant) mosque?’ He ﷺ informed them of the abundant rewards earned by walking to a mosque at a distance away from one’s house, urging them to stay in their houses. The Prophet’s words mean, “Stay in your houses to earn greater rewards for your long-distance walking to my mosque.” He ﷺ encouraged them to stay in their houses and aspire to the rewards for each step they took to the mosque, devoting their effort sincerely to Allah, The Exalted. Upon hearing the Prophet’s words, they decided to stay in their houses as advised. The Prophet’s intention was that Banoo Salamah should remain in their houses so that the various regions of Al-Madeenah would remain populated so that the Muslim populationin Al-Madeenah wouldincrease to instill terror in the hearts of the hypocrites and polytheists. He ﷺ did not explicitly say so to Banoo Salamah, and settled for highlighting the obvious benefit to urge them to comply and motivate them to remain in their houses. The hadeeth also underlines the virtues of building and populating Al-Madeenah and urges Muslims to walk to the mosques..
Related hadiths1
Compare isnād across 1 related chains →