"Whoever swears an oath and says In sha' Allah, will never break his oath."

Sunan Ibn Majah Book 11, Hadith 17