Sahih al-Bukhari 2150
Abdullah bin Yusuf (at-Tinnisi) related to us, (he said) that (Imam) Malik (rh) told us. He narrated from Abu az-Zinad, he from Al-A'raj, and Al-A'raj from Hazrat Abu Hurairah (ra), that the Messenger of Allah (saw) said: “Do not go out ahead to meet the riders of a caravan (who bring goods for sale); none of you should make a sale over the sale of another; do not raise the price in order to deceive; a town dweller should not sell the goods of a desert dweller; and do not hold back the milk of a goat in its udder. Whoever buys such a goat has the choice of one of two things: after milking it, if he likes it, he may keep it, and if he dislikes it, he may return it together with one Sa' of dates.”
AI-translated by Islam-Today
Book 64: The seller is not allowed to keep animal unmilked for a long time