Hadith 4391
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."