It is narrated from Sayyiduna Nabeesha (may Allah be pleased with him) that a man asked the Noble Prophet ﷺ, "O Messenger of Allah ﷺ! In the days of ignorance, we used to slaughter the Fara’ (the first offspring of an animal). What is your command regarding this?" The Messenger of Allah ﷺ replied: "From every kind of grazing animal, one should slaughter an animal, but in such a way that its mother nurses it until it becomes fit for riding (i.e., matures), then slaughter it, and feed it fodder; this is better for you."
Hadith Referenceالسنن المأثورة / باب ما جاء في صدقة الفطر / 385