If goods perish in a buyer’s possession during his option, which measure applies?

Khiyar al-Shart: Duration, Ownership, Rescission and Stipulated Attributes