It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that Sayyiduna Rukanah bin Abd Yazid (may Allah be pleased with him), a man of Banu Abd al-Muttalib, divorced his wife three times in a single sitting, and then he grieved greatly over it. So the Messenger of Allah (peace and blessings be upon him) asked him: "O Rukanah, how many times did you divorce her?" He replied: "Three times in a single sitting." So the Messenger of Allah (peace and blessings be upon him) said: "That is only one divorce."
Related hadith on this topic