Abu Hurairah (RA) reported Allah's Messenger (ﷺ) as saying: The claimants would get their claims on the Day of Ressurection so much so that the hornless sheep would get its claim from the horned sheep.
Hadith Referenceصحيح مسلم / كتاب البر والصلة والآداب / 2582
Hadith Commentary: Vocabulary of the Hadith: (1) Jalha’: Without horns. (2) Qarna’: With horns. Benefits and Issues: From this hadith, it is understood that on the Day of Resurrection, animals will also be resurrected and retribution will be taken among them from one another. However, since they are not legally responsible (mukallaf), Paradise or Hell is not for them.
Source: Tuhfat al-Muslim: Commentary on Sahih Muslim, Page: 6580