Ibn 'Umar (RA) reported: Allah's Messenger (ﷺ) asked a person from the Ansar and his wife to invoke curse (upon one another in order to testify to their truthfulness), and then effected separation between them.
Hadith ReferenceSahih Muslim / The Book of Invoking Curses / Hadith: 1494