Sunan an-Nasa'i, Volume 1, Book 7, Hadith 666 (DarusSalam)

[It was narrated from 'Abdullah bin Rubayyi'ah that he was with the Messenger of Allah on a journey and he heard the voice of a man calling the Adhan, and he said what he said. When he reached the words: Ashhadu anna Muhammadan Rasul-Allah (I bear witness that Muhammad is the Messenger of Allah), - Al-Hakam said, "I did not hear this from Ibn Abi Lailah" - the Messenger of Allah said: "This is a shepherd of a man who is away from his family." He went down into the valley and found a shepherd, standing by a dead sheep. He said: "Do you think that this is worthless to its owners?" They said: "Yes." He said: "This world is more worthless to Allah than this (dead sheep) is to its owners."]

أَخْبَرَنَا إِسْحَاقُ بْنُ مَنْصُورٍ، قَالَ أَنْبَأَنَا عَبْدُ الرَّحْمَنِ، عَنْ شُعْبَةَ، عَنِ الْحَكَمِ، عَنِ ابْنِ أَبِي لَيْلَى، عَنْ عَبْدِ اللَّهِ بْنِ رُبَيِّعَةَ، أَنَّهُ كَانَ مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم فِي سَفَرٍ فَسَمِعَ صَوْتَ رَجُلٍ يُؤَذِّنُ حَتَّى إِذَا بَلَغَ أَشْهَدُ أَنَّ مُحَمَّدًا رَسُولُ اللَّهِ - قَالَ الْحَكَمُ لَمْ أَسْمَعْ هَذَا عَنِ ابْنِ أَبِي لَيْلَى - قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ إِنَّ هَذَا لَرَاعِي غَنَمٍ أَوْ رَجُلٌ عَازِبٌ عَنْ أَهْلِهِ ‏"‏ ‏.‏ فَهَبَطَ الْوَادِيَ فَإِذَا هُوَ بِرَاعِي غَنَمٍ وَإِذَا هُوَ بِشَاةٍ مَيِّتَةٍ قَالَ ‏"‏ أَتَرَوْنَ هَذِهِ هَيِّنَةً عَلَى أَهْلِهَا ‏"‏ ‏.‏ قَالُوا نَعَمْ ‏.‏ قَالَ ‏"‏ الدُّنْيَا أَهْوَنُ عَلَى اللَّهِ مِنْ هَذِهِ عَلَى أَهْلِهَا ‏"‏ ‏.‏

sunnah.com

also referenced under: Book 7, Hadith 673 (In-Book)