What is the basis of the inspection option?

Kitab al-Buyu: Offer, Acceptance, Binding Sales and Price Clarity