The tribe of Banu Salama lived on the outskirts of Madinah, and they wanted to move closer to the Mosque. Then this verse was revealed, "Indeed, it is We who bring the dead to life and record what they have put forth and what they left behind" [Ya-Sin 36:12]. So the Messenger of Allah ﷺ said, "Your footsteps are being recorded, so do not move."He said, this is a hasan gharib hadith from the narration of al-Thawri, and Abu Sufyan is Tareef Saadi.
حدثنا محمد بن وزير الواسطي حدثنا إسحق بن يوسف الأزرق عن سفيان الثوري عن أبي سفيان عن أبي نضرة
كانت بنو سلمة في ناحية المدينة فأرادوا النقلة إلى قرب المسجد فنزلت هذه الآية {إنا نحن نحي الموتى ونكتب ما قدموا وآثارهم} فقال رسول الله ﷺ إن آثاركم تكتب فلا تنتقلوا قال هذا حديث حسن غريب من حديث الثوري وأبو سفيان هو طريف السعدي
Its chain of transmission is daif. Hakim narrated it in 2/428, 429 from the hadith of Ishaq bin Yusuf with the same wording, and graded it sahih, and Dhahabi agreed with him. Abu Sufyan Tarif bin Shihab is daif, and the hadith has corroborating narrations in Bazzar, Ibn Majah (h: 785), Ibn Abu Hatim, and others, without the words, "so this verse was revealed."