Hadith 4581

(حديث مرفوع) حَدَّثَنَا سُفْيَانُ ، عَنْ أَيُّوبَ ، عَنْ نَافِعٍ ، عَنِ ابْنِ عُمَرَ ، يَبْلُغُ بِهِ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " مَنْ حَلَفَ عَلَى يَمِينٍ ، فَقَالَ : إِنْ شَاءَ اللَّهُ ، فَقَدْ اسْتَثْنَى " .
It is narrated, most likely as a marfu’ hadith, from Sayyiduna Ibn Umar (may Allah be pleased with them both) that whoever says “In sha Allah” while taking an oath, then he has the choice: if he wishes to fulfill his oath, he may do so, and if he wishes to retract from it, he may do so without becoming a perjurer.
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 4581
Hadith Grading حکم دارالسلام: إسناده صحيح