Narrated Hakim bin Hizam":The Prophet (ﷺ) said, "The buyer and the seller have the option of canceling or confirming the deal unless they separate
Hadith No. 2108
Sahih al Bukhari