The Lajnah (Permanent Committee For Scholarly Research And Ifta’) stated:

“The people of knowledge differed about the permissibility of selling something with the condition of option to a fixed time, if the period exceeds three days. Some people permitted it while others prohibited it. The most correct is that it is permissible because the Prophet (may Allah’s Peace and Blessings be upon him) also says: Muslims must abide by their conditions, except such which makes lawful unlawful and unlawful lawful…”

[Reference]

Mentioned by

AbdulFattaah Bin Uthman
Abu Fajr