Hadith 157

Bulugh al-Maram

Book 8: Marriage
وَأَخْرَجَهُ النَّسَائِيُّ مِنْ وَجْهٍ آخَرَ: عَنِ اِبْنِ عَبَّاسٍ بِلَفْظٍ { قَالَ: طَلِّقْهَا.‏ قَالَ: لَا أَصْبِرُ عَنْهَا.‏ قَالَ: "فَأَمْسِكْهَا } 1‏
an-Nasa'i reported it with through another chain, from Ibn 'Abbas (RA) with this wording:

He said, "Divorce her." He replied "I can not endure the desire for her." He said, "Then keep her."