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?"
حدثنا عبد الله بن بكر حدثنا حميد
أراد بنو سلمة أن يتحولوا عن منازلهم إلى قرب المسجد فكره نبي الله ﷺ أن تعرى المدينة فقال يا بني سلمة ألا تحتسبون آثاركم