Anas bin Malik reported,

The tribe of Banu Salama wanted to move from their homes to be closer to the mosque, but the Prophet of Allah ﷺ disliked the idea of leaving Madinah's outskirts deserted. He said, "Banu Salama, will you not seek reward for your footsteps?"

Ahmad 13770

Sahih

حدثنا عبد الله بن بكر حدثنا حميد

عن أنس قال

أراد بنو سلمة أن يتحولوا عن منازلهم إلى قرب المسجد فكره نبي الله ﷺ أن تعرى المدينة فقال يا بني سلمة ألا تحتسبون آثاركم

أحمد 13770صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 13770
Ahmad 13770