The Messenger of Allah ﷺ said to the couple who had engaged in mutual cursing, "Your reckoning is with Allah. One of you is lying. You have no way to reclaim her."The man said, "Messenger of Allah, what about my property?"He replied, "You have no right to it. If you spoke truthfully against her, then it is compensation for what you took as lawful from her private parts. And if you lied against her, then you are even further removed from any right to it."
أخبرنا محمد بن منصور قال حدثنا سفيان عن عمرو قال سمعت سعيد بن جبير يقول سألت ابن عمر
قال رسول الله ﷺ للمتلاعنين حسابكما على الله أحدكما كاذب ولا سبيل لك عليها قال يا رسول الله مالي قال لا مال لك إن كنت صدقت عليها فهو بما استحللت من فرجها وإن كنت كذبت عليها فذاك أبعد لك
Bukhari narrated it in the chapter on divorce, in the section on mutah for a woman for whom no dower had been fixed, etc., hadith 5350, and Muslim in the chapter on lian, hadith 5/1493, from the hadith of Sufyan bin Uyayna, through the same chain, and it is also in Al-Kubra, hadith 5670.