the Messenger of Allah forbade selling fruits until their condition is known.

Sunan an-Nasa'i Book 44, Hadith 72