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.
ibnmajah:3181ʿAlī b. Muḥammad > ʿAbd al-Raḥman al-Muḥāribī > Yaḥyá b. ʿUbaydullāh from his father > Abū Hurayrah > Abū Bakr b. Abū Quḥāfah

“Let us go out to Waqifi.” He said: “So we went out in the moonlight until we came to the garden and he (the owner of the garden) said: ‘Welcome.’ Then he took up the knife and went among the sheep (to choose one for slaughter), and the Messenger of Allah ﷺ said: ‘Avoid those that are lactating.’”  

ابن ماجة:٣١٨١حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ حَدَّثَنَا عَبْدُ الرَّحْمَنِ الْمُحَارِبِيُّ عَنْ يَحْيَى بْنِ عُبَيْدِ اللَّهِ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ قَالَ حَدَّثَنِي أَبُو بَكْرِ بْنُ أَبِي قُحَافَةَ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لَهُ وَلِعُمَرَ انْطَلِقُوا بِنَا إِلَى الْوَاقِفِيِّ قَالَ فَانْطَلَقْنَا فِي الْقَمَرِ حَتَّى أَتَيْنَا الْحَائِطَ فَقَالَ مَرْحَبًا وَأَهْلاً ثُمَّ أَخَذَ الشَّفْرَةَ ثُمَّ جَالَ فِي الْغَنَمِ فَقَالَ رَسُولُ اللَّهِ ﷺ إِيَّاكَ وَالْحَلُوبَ أَوْ قَالَ ذَاتَ الدَّرِّ  


See similar narrations below:

Collected by Suyūṭī
suyuti:1-37bAbá Hryrh > Ḥdthná Bw Bkr
Request/Fix translation

  

السيوطي:١-٣٧b

"عن أَبى هريرة قال: حدثنى أبو بكر أن رسول الله ﷺ قال له ولعمر: انْطَلِقُوا بِنَا إِلَى الْواقِفِىِّ، فَانْطَلَقْنَا فِى الْقَمَرِ حَتَّى أَتَيْنَا الْحَائِطَ، فَقَالَ: مَرْحَبًا وَأَهْلًا، ثُمَّ أَخَذَ الشَّفْرَةَ ثُمَّ جَالَ فِى الْغَنَمِ، فَقَالَ رَسُولُ الله ﷺ : "إيَّاكَ وَالْحَلُوبَ أَوْ قَالَ: ذَاتَ الدَّرِّ".  

(ابن ماجه (*))