Abu Hurairah reported,

Abu Bakr bin Abu Quhafa told me that the Messenger of Allah ﷺ said to him and to Umar, "Come with us to the Waqifi."So we set out under the moonlight until we reached the orchard. The man said, "Welcome, you are most welcome." Then he took up the knife and went around among his sheep.The Messenger of Allah ﷺ said to him, "Avoid the milking ewe," or he said, "the one yielding milk."

Ibn Majah 3181

Daif

حدثنا علي بن محمد حدثنا عبد الرحمن المحاربي عن يحيى بن عبيد الله عن أبيه

عن أبي هريرة قال

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

ابن ماجه 3181ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Slaughter
Chapter
Prohibition of slaughtering milk-giving animals
Numbering
Darussalam 3181
Ibn Majah 3181