Sayyidina Ibn Umar (RA) reported that Allah’s Messenger (SAW) said, ‘If any one swears an oath and says Insha Allah (if god wills) then he has made an exception. (He will not have to pay an expiation if he goes contrary to it).
[Abu Dawud 3261, Muslim 3838]