It is narrated from Sayyiduna Hulb al-Ta'i (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) would turn away from the prayer sometimes to his right and sometimes to his left.
Hadith Referenceالمعجم الكبير للطبراني / باب الهاء / 18635