Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) said: Whoever says "By Allah", then says "In sha' Allah" (if Allah wills), and then does not do what he swore to do, is not in breach of his oath.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأيمان / 19920