WE RELATE FROM the book of Ibn as-Sunnī that ‘Alī
reported that when the Prophet
looked into the mirror he said: “Praise be to Allah. O Allah, as You have made my appearance good, make my character good.” [1].
Al-ḥamdu li-llāh. Allāhumma kamā ḥassanta khalqī fa-ḥassin khuluqī.
We relate [the same hadith, in the same source] in a narration of Ibn ‘Abbās
, with some extra material.
We also relate from [the same source], in a narration from Anas
, that when the Messenger of Allah
looked at his face in the mirror he said: “Praise be to Allah, Who arranged my physical form, making it harmonious, and ennobled my face, making it comely, and has made me one of the Muslims.” [2].

Al-ḥamdu li-llāhi-lladhī sawwā khalqī fa-‘adalah, wa karrama ṣūrata wajhī fa-ḥassanah, wa ja‘alanī mina-l-Muslimīn.
References
[1] Ibn as-Sunnī (162).
[2] Ibn as-Sunnī (164).