Sayyiduna Jabir (may Allah be pleased with him) narrates: The Prophet (peace and blessings be upon him) came to my home. I went towards a goat to slaughter it, and it began to bleat. The Prophet (peace and blessings be upon him) heard its bleating and said: "Jabir, do not slaughter a milk-giving or pregnant goat." I said: "O Messenger of Allah, this is a yearling goat; I have fed it unripe dates and fresh dates as fodder until it has become plump."
Ahmad recorded it; its chain contains a narrator whom I do not know.