The tribe of Banu Salama wanted to move from their homes and settle closer to the Prophet ﷺ. The Messenger of Allah ﷺ disliked that Madinah should be left empty, so he said, "Will you not seek reward for your footsteps?"Mujahid said, "Their footsteps means their steps, walking upon the earth with their feet."
وقال ابن أبي مريم أخبرنا يحيى بن أيوب حدثني حميد
أن بني سلمة أرادوا أن يتحولوا عن منازلهم فينزلوا قريبا من النبي ﷺ قال فكره رسول الله ﷺ أن يعروا المدينة فقال ألا تحتسبون آثاركم قال مجاهد خطاهم آثارهم أن يمشى في الأرض بأرجلهم