Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:9677Abū Bakr And ʾAbū Zakariyyā > Abū al-ʿAbbās > Muḥammad > Ibn Wahb > ʿUmar b. Qays > ʿAṭāʾ b. Abū Rabāḥ > Ibn ʿAbbās

[Machine] The Messenger of Allah ﷺ said, "The shepherd throws (stones) at night and grazes during the day." With this chain of narration, Ibn Wahb reported to me that Yahya ibn Ayyub informed me from Umara ibn Ghaziyyah from Muhammad ibn Ibrahim from Abu Salamah ibn Abdur Rahman from the Prophet ﷺ something similar.  

البيهقي:٩٦٧٧وَأَخْبَرَنَا أَبُو بَكْرٍ وَأَبُو زَكَرِيَّا قَالَا ثنا أَبُو الْعَبَّاسِ أنبأ مُحَمَّدٌ أنبأ ابْنُ وَهْبٍ أَخْبَرَنِي عُمَرُ بْنُ قَيْسٍ عَنْ عَطَاءِ بْنِ أَبِي رَبَاحٍ قَالَ سَمِعْتُ ابْنَ عَبَّاسٍ يَقُولُ

قَالَ رَسُولُ اللهِ ﷺ الرَّاعِي يَرْمِي بِاللَّيْلِ وَيَرْعَى بِالنَّهَارِ 9678 وَبِهَذَا الْإِسْنَادِ أنبأ ابْنُ وَهْبٍ أَخْبَرَنِي يَحْيَى بْنُ أَيُّوبَ عَنْ عُمَارَةَ بْنِ غَزِيَّةَ عَنْ مُحَمَّدِ بْنِ إِبْرَاهِيمَ عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ عَنِ النَّبِيِّ ﷺ مِثْلَهُ