Hadithcore
Hadith #2110420

Narrated Abu Hurairah (RA):

Allah's Messenger (ﷺ) said: "An animal may be ridden, due to what is spent on it, when it is in pledge; and the milk of a camel may be drunk, due to what is spent on it, when it is in pledge. And the responsibility of spending on it is upon the one who rides (it) and drinks (its milk)." [Reported by al-Bukhari].

وَعَنْ أَبِي هُرَيْرَةَ ‏- رضى الله عنه ‏- قَالَ: قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ اَلظَّهْرُ يُرْكَبُ بِنَفَقَتِهِ إِذَا كَانَ مَرْهُونًا, وَلَبَنُ اَلدَّرِّ يُشْرَبُ بِنَفَقَتِهِ إِذَا كَانَ مَرْهُونًا, وَعَلَى اَلَّذِي يَرْكَبُ وَيَشْرَبُ اَلنَّفَقَةُ } رَوَاهُ اَلْبُخَارِيُّ [1]‏ .‏

References2 variants
Sunnah.com reference
Book 7, Hadith 96
Arabic/English book reference
Book 7, Hadith 861