The one who made the deal with a condition of option also has the right to cancel
➊ It is narrated from Amr bin Shu’ayb, from his father, from his grandfather, that the Messenger of Allah ﷺ said:
البائع والمبتاع بالخيار حتى يتفرقا إلا أن تكون صفقة خيار ولا يحل له أن يفارقه خشية أن يستقيله
“The buyer and the seller have the option until they separate, except for a transaction with an option; and it is not permissible for him to leave him hastily out of fear that he will cancel the deal.”
[Hasan: Irwa al-Ghalil: 1311, Abu Dawud: 3456, Kitab al-Buyu’: Bab fi Khiyar al-Mutabayi’ayn, Tirmidhi: 1247, Nasa’i: 4483, Ahmad: 183/2, Daraqutni: 50/3, Bayhaqi: 271/5]
➋ In one narration the words are:
كل بيّعين لا بيع بينهما حتى يتفرقا إلا بيع الخيار
“There is no sale between two parties to a sale until they separate, except for a sale with an option.”
[Bukhari: 2107, Abu Dawud: 3454, Nasa’i: 4465, Tirmidhi: 1245, Ibn Majah: 2181]
The meaning of a sale with an option is that if one of the two parties to the deal has stipulated a condition for himself, his option remains even after separation, until the fixed period of the option ends.
The proof for the option of condition (khiyar al-shart) is also found in the hadith in which the Messenger of Allah ﷺ said to a man who was being deceived in trade: at the time of the sale, say: لا خلابة “There will be no deception.”
[Bukhari: 2117, Kitab al-Buyu’: Bab Ma Yukrahu min al-Khida’ fi al-Bay’]
(Ibn Hajar, may Allah have mercy on him) This narration of Bukhari supports the option of condition. إلا بيع الخيار
(Ahmad, may Allah have mercy on him) It is valid to stipulate an option at the time of the sale for a specified period (even if it is long).
(Malik, may Allah have mercy on him) The period is to be fixed according to the need.
(Abu Hanifa, Shafi’i, may Allah have mercy on them) The period of the option is three days or less.
(The preponderant view) The position of Imam Ahmad, may Allah have mercy on him, appears to be the preponderant one.
[Fiqh al-Sunnah: 241/3]