´It was narrated that 'Ali said:` "The Messenger of Allah (ﷺ) forbade haggling before sunrise, and (he forbade) slaughtering animals that yield milk."
Brief Explanation
1؎: This is because there is more benefit in milk; nourishment will always be available, whereas its meat will only be useful for two or three days. However, if the milking animal has become old and its milk has ceased, then there is no objection to slaughtering it.