Sunan an-Nasa'i, Book 27, Hadith 88 (In-Book)

It was narrated that 'Amr said: "I heard Sa'eed bin Jubair say: 'I asked Ibn 'Umar about the two who engage in Li'an. He said: 'The Messenger of Allah said to the two who engaged in Li'an: Your reckoning will be with Allah. One of you is lying, and you cannot stay with her. He said: O Messenger of Allah, my wealth! He said: You are not entitled to any wealth. If you are telling the truth about her, then it is in return for having been allowed intimacy with her, and if you are lying then you are even less entitled to it.'"

أَخْبَرَنَا مُحَمَّدُ بْنُ مَنْصُورٍ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنْ عَمْرٍو، قَالَ سَمِعْتُ سَعِيدَ بْنَ جُبَيْرٍ، يَقُولُ سَأَلْتُ ابْنَ عُمَرَ عَنِ الْمُتَلاَعِنَيْنِ، فَقَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم لِلْمُتَلاَعِنَيْنِ ‏"‏ حِسَابُكُمَا عَلَى اللَّهِ أَحَدُكُمَا كَاذِبٌ وَلاَ سَبِيلَ لَكَ عَلَيْهَا ‏"‏ ‏.‏ قَالَ يَا رَسُولَ اللَّهِ مَالِي قَالَ ‏"‏ لاَ مَالَ لَكَ إِنْ كُنْتَ صَدَقْتَ عَلَيْهَا فَهُوَ بِمَا اسْتَحْلَلْتَ مِنْ فَرْجِهَا وَإِنْ كُنْتَ كَذَبْتَ عَلَيْهَا فَذَاكَ أَبْعَدُ لَكَ ‏"‏ ‏.‏

sunnah.com