Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: "Do not settle in al-kufur, for they are like graves", meaning that he (peace and blessings be upon him) meant al-qura (small settlements and villages).
Hadith Referenceالمعجم الأوسط / باب العين / 4851
Hadith Gradingمحدثین:إسناده ضعيف لضعف محمد بن جامع العطار
Hadith Takhrij«قال الهيثمي: فيه محمد بن جامع العطار وهو ضعيف «مجمع الزوائد ومنبع الفوائد، ج 8، ص 105»»