It is narrated from Sayyiduna Thawban (may Allah be pleased with him) that the Messenger of Allah (peace and blessings of Allah be upon him) said to me: "Do not reside in remote settlements, for the one who lives in distant villages is like one who lives in graves." Ahmad bin Asim (may Allah have mercy on him) says that "kafur" refers to villages. In another chain, it is also narrated from Sayyiduna Thawban (may Allah be pleased with him) that the Prophet (peace and blessings of Allah be upon him) said: "O Thawban! Do not reside in remote settlements, for the one who lives in distant settlements is like those who live in graves."
Hadith Referenceالادب المفرد / كتاب / 579
Hadith Gradingالألبانی:حسن
Hadith Takhrij«حسن : أخرجه البيهقي فى شعب الإيمان : 7518 و الطبراني فى مسند الشامين : 99/2 - انظر الصحيحة تحت رقم : 4783»