It is narrated from Hazrat Wa'il (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) would turn to the right and to the left when saying salam (at the end of prayer).
Hadith Referenceمسند احمد / تتمہ مُسْنَدِ الْكُوفِيِّينَ / 18857