Reported from the Prophet ﷺ that whoever takes an oath and says, "If Allah wills," has made an exception.
حدثنا سفيان عن أيوب عن نافع
يبلغ به النبي ﷺ من حلف على يمين فقال إن شاء الله فقد استثنى
Its isnad is sahih, and it is an abridgment of 4510.