Narrated 'Abdullah bin 'Umar:The Messenger of Allah (ﷺ) as saying: Each one of the two parties in a business has an option (to annul it) against the other party so long as they have not separated, except in a conditional bargain
Hadith No. 3454
Sunan Abu Dawud
Gradings:
Al-Albani:
Sahih
Muhammad Muhyi Al-Din Abdul Hamid:
Sahih
Zubair Ali Zai:
Sahih Bukhari (2111) Sahih Muslim (1531)