Yes. He was asked about this from the Prophet ﷺ, and he said, "Yes. Whoever buys a muhaffalah or musarrah has the choice. If he wishes to return it, let him return it, and if he wishes to keep it, he may keep it."
حدثنا سفيان عن معمر عن أيوب عن ابن سيرين قيل لسفيان
نعم قيل له عن النبي ﷺ قال نعم من ابتاع محفلة أو مصراة فهو بالخيار فإن شاء أن يردها فليردها وإن شاء يمسكها أمسكها
Its chain of transmission is sahih, and it is abridged. Nasai related it, 2:215, from Muhammad bin Mansur, from Sufyan, with this same chain, with the wording, "Whoever buys an animal with swollen udder or one whose milk has been held back has the choice for three days. If he wishes to keep it, he may keep it, and if he wishes to return it, he may return it along with a measure of dates, not wheat." Muslim related it, 1:445, from Ibn Abu Umar, from Sufyan, with similar wording. Ibn Majah related it, 2239, also with similar wording, through the narration of Hisham bin Hassan, from Ibn Sirin, from Abu Hurairah. Muslim also related it, both before and after this, through other routes from Abu Hurairah, with similar wording.We have already given its meaning in similar form at 7303, through the narration of Sufyan from Abu Zinad, from Aaraj, from Abu Hurairah, and we explained it there fully. Hafiz pointed out in Fath al-Bari, 4:304, the narrations from Ibn Sirin, but he failed to point out this particular narration.As for "muhaffalah," with the fa doubled and given a fatha, it means an animal whose milk has been held back (musarrah). We explained this in the hadith of Ibn Masud, 4096. As for his saying "in shaa yumsikuha" (if he wishes, he may keep it), this is how it appears in most manuscripts here, with "an" omitted, while in [manuscript] M it reads "an yumsikuha."