Anas bin Sirin mentioned something similar, (adding) that "he may divorce her if he wishes." Sayyiduna Umar (may Allah be pleased with him) said: "O Messenger of Allah (peace and blessings be upon him)! Will that be counted as one divorce?" He (peace and blessings be upon him) said: "Yes."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الخلع والطلاق / 14922