the Prophet ﷺ said: "If a woman claims that her husband has divorced her, and she brings a witness of good character (to testify) to that, her husband should be asked to swear an oath. If he swears, that will invalidate the testimony of the witness, but if he refuses then that will be equivalent to a second witness, and the divorce will take effect." (Using translation from Ibn Mājah 2038)
"إذا ادَّعتْ المرأةُ طلاقَ زوجِها فجاءت على ذلك بشاهدٍ عدلٍ اسْتُحلِف زوجُها، فإن حلَف بطلت شهادة الشاهدِ، وإن نَكل فنكوله بمنْزلةِ شاهد آخرَ، وجاز طلاقه" .