Sahih al-Bukhari, Hadith 5264

Nafi' said: When Ibn 'Umar was asked about person who had given three divorces, he said, "Would that you gave one or two divorces, for the Prophet ordered me to do so. If you give three divorces then she cannot be lawful for you until she has married another husband (and is divorced by him)."

وَقَالَ اللَّيْثُ عَنْ نَافِعٍ، كَانَ ابْنُ عُمَرَ إِذَا سُئِلَ عَمَّنْ طَلَّقَ ثَلاَثًا قَالَ لَوْ طَلَّقْتَ مَرَّةً أَوْ مَرَّتَيْنِ فَإِنَّ النَّبِيَّ صلى الله عليه وسلم أَمَرَنِي بِهَذَا، فَإِنْ طَلَّقْتَهَا ثَلاَثًا حَرُمَتْ حَتَّى تَنْكِحَ زَوْجًا غَيْرَكَ‏.‏

sunnah.com