There was an Amir in Mecca who pronounced taslim twice. Abdullah said: Where did he get this sunnah? Al-Hakam said: There is a hadith to the effect that the Messenger of Allah (ﷺ) did like It.
Sahih Muslim Book 5, Hadith 151