صحيح البخاري
From Sahih Bukhari (Hadith 2511):
Narrated Abu Huraira:The Prophet (ﷺ) said, "One can ride the mortgaged animal because of what one spends on it, and one can drink the milk of a milch animal as long as it is mortgaged
Reference: Bukhari 2511