Sayyiduna Abu Hurayrah (may Allah be pleased with him) narrates: I saw the Messenger of Allah (peace and blessings be upon him) praying barefoot and wearing sandals, standing and sitting, and he would turn away both to his right and to his left.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3612