Jabir said that the area round the mosque was vacant and that the Banu Salima wanted to move near the mosque, but when the Prophet heard of that he said to them, “I have heard that you want to move near the mosque.” They replied, “Yes, Messenger of God, that was our desire.” He said, “Banu Salima, if you keep to your present houses, your footprints will be recorded; if you keep to your present houses, your footprints will be recorded.”* * I.e. you will receive a reward for the distance you have to go to the mosque. Muslim transmitted it.
Hadith Referenceمشكوة المصابيح / كتاب الصلاة / 700
Hadith Gradingالألبانی:صَحِيح | زبیر علی زئی:صحيح
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «رواه مسلم (280 / 665)»