(1) باب
Ibn Shihab narrated about the invokers of curses and the practice of (li'an) based on the authority of Sahl b. Sa'd, of the tribe of Sa'ida. that a person from the Ansar came to Allah's Apostle (ﷺ) and said:
Allah's Messenger, tell me about the person who found a man with his wife. The remaining part of the hadith is the same (but) with this addition: They invoked curses in the mosque and I was present there. And he narrated in the hadith: He divorced her with three pronouncements before Allah's Messenger (ﷺ) commanded him (to get separation). He separated from her in the presence of Allah's Apostle (ﷺ), whereupon he said: There is a separation between the invokers of curses.
Reference: Sahih Muslim 1492 c
In-book reference: Book 19, Hadith 3
USC-MSA web (English) reference(deprecated numbering scheme): Book 9, Hadith 3555