"Whoever swears an oath and says In sha' Allah, if he wishes he may go ahead and if he wishes he may not, without having broken his oath."
Sunan Ibn Majah Book 11, Hadith 16