It is narrated from Sayyiduna Ubadah bin al-Samit (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Jesting and playing are not permissible in the Shari'ah in three matters: divorce, marriage and freeing a slave. So whoever utters these words (whether seriously or merely in jest), they become binding and effective upon him."
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب الوليمة / 1705
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :إسناده ضعيف. » «أخرجه المطالب العالية لابن حجر برقم: 1706»