Sayyiduna Imran bin Husayn (may Allah be pleased with him) narrates this statement of the Noble Prophet (peace and blessings be upon him): "A vow regarding a sin should not be fulfilled, nor should a vow be fulfilled regarding something over which a servant has no control (the narrator is in doubt, perhaps these are the words) over which the son of Adam has no control."
Hadith Referenceصحیح ابن حبان / كتاب النذور / 4391
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الضعيفة» تحت الحديث (6549): م.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم