Sahih Muslim, Book 21, Hadith 32 (Muslim 3795)

Abu Huraira (Allah be pleased with him) reported Allah's Apostle (ﷺ) as saying:

lie who buys a goat having its udder tied up has the option to return it within three days. If he returns it he should pay a sa' of dates. Wheat is not essential.