Narrated Abu Sa'eed Al-Khudri:
"Banu Salamah's dwellings were on the outskirts of Al-Madinah, so they wanted to relocate closer to the Masjid. Then this Ayah was revealed: 'Verily, We give life to the dead, and We record that which they send before (them), and their traces... (36:12)' So the Messenger of Allah (ﷺ) said: 'Your steps are recorded, so do not relocate.'"
English reference: Vol. 5, Book 44, Hadith 3226
Arabic reference: Book 47, Hadith 3533
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.