Hadith 10:459
Abu Bakr narrated to us, he said: Hafs bin Ghiyath narrated to us, from Ash'ath, from al-Hakam, from Ibrahim, from Abdullah regarding the unlawful (al-haram): If he intended an oath, then it is an oath. And if he intended a divorce, then it is what he intended.
حدثنا أبو بكر قال نا حفص بن غياث عن اشعث عن الحكم عن إبراهيم عن عبد الله في الحرام إن نوى يمينا فيمين وإن نوى طلاقا فما نوى