Sunan Ibn Majah, Volume 2, Book 5, Hadith 1127 (DarusSalam) ⓘ
It was narrated that Abu Hurairah said: The Messenger of Allah said: “What if one of you were to take a flock of sheep and look for grass for them one or two miles away, but he cannot find any at that distance, so he goes further away? Then (the time for) Friday comes but he does not attend it, then (another) Friday comes but he does not attend it, and (another) Friday comes but he does not attend it, until Allah places a seal on his heart.”
حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا مَعْدِيُّ بْنُ سُلَيْمَانَ، حَدَّثَنَا ابْنُ عَجْلاَنَ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " أَلاَ هَلْ عَسَى أَحَدُكُمْ أَنْ يَتَّخِذَ الصُّبَّةَ مِنَ الْغَنَمِ عَلَى رَأْسِ مِيلٍ أَوْ مِيلَيْنِ فَيَتَعَذَّرَ عَلَيْهِ الْكَلأُ فَيَرْتَفِعَ ثُمَّ تَجِيءُ الْجُمُعَةُ فَلاَ يَجِيءُ وَلاَ يَشْهَدُهَا وَتَجِيءُ الْجُمُعَةُ فَلاَ يَشْهَدُهَا وَتَجِيءُ الْجُمُعَةُ فَلاَ يَشْهَدُهَا حَتَّى يُطْبَعَ عَلَى قَلْبِهِ " .
also referenced under: Hadith 1127 (Reference) & Book 5, Hadith 1181 (In-Book)