Umm al-Mu'mineen Sayyidah Umm Salamah (may Allah be pleased with her) narrates that she swore an oath regarding one of her slaves who had asked her for freedom, that Allah would never free him from Hell if she set him free. Then, for as long as Allah willed, she remained firm on her oath. Then she said: Subhan Allah! I heard the Messenger of Allah (peace and blessings be upon him) say: "Whoever swears an oath to do or not do something, then sees a better option, should offer expiation for his oath and then choose the better option."
Hadith Referenceمسند الشهاب / 514
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«إسناده ضعيف ، وأخرجه المعجم الكبير : 694 ، جزء 23» ، عبداللہ بن حسن کا سیدہ ام سلمہ رضی اللہ عنہاسے سماع ثابت نہیں ۔