From another chain of narration, it is reported from Abu Hurairah (may Allah be pleased with him) from the Prophet ﷺ in a manner similar to the previous hadith.
Hadith Referenceمسند الإمام الشافعي / كتاب الزكاة / 707
Hadith Takhrijأخرجه مسلم، الزكاة، باب لا زكاة على المسلم في عبده وفرسه (982)۔