The Messenger of Allah (ﷺ) as saying: If anyone buys sheep or goat whose udders have been tied up and he milked it, he may keep it if he is pleased with it, or he may return it if he is displeased with it. There is one sa' of dates (which he must give to the seller) for milking it.
Reference: Sunan Abi Dawud 3445 In-book : Book 24, Hadith 30 English translation : Book 23, Hadith 3438
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.