Sayyiduna Harithah bin al-Nu'man (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) said: "A man goes out with his sheep to the edge of the town; from there he keeps attending the prayers and returning to his family, until, when he has eaten up the pasture around him and the land becomes difficult for him, he says: If only I could move to a low-lying plain where the pasture is more lush than this. So he keeps moving on until he attends no prayer except the Friday prayer. Then when the pasture there is also used up and the land becomes difficult, he says: If only I could move to some other place where the pasture is even greener than this. So he keeps moving on until he does not even attend the Friday prayer, and he no longer even knows which day is Friday, until a seal is set upon his heart."
Hadith Referenceالمعجم الكبير للطبراني / باب الحاء / 3216