The Messenger of Allah ﷺ used to pray standing and sitting, barefoot and wearing sandals.
كان رسول الله ﷺ يصلي قائما وقاعدا، وحافيا ومنتعلا.
Imam Ahmad narrated it (7384), he said, Sufyan told us, from Abdul-Malik bin Umayr, from Abu Awbar, from Abu Hurairah, and he mentioned it. Bazzar narrated it in Kashf Astar (601) through another route, from Abdullah bin Umayr with the same wording. Its isnad is hasan because of Abu Awbar, whom Ibn Main, Nasai, and others named Ziyad Harithi. Ibn Hibban rated him trustworthy. Hafiz said in Tajil (343), "Husayni affirmed decisively that he is Abu Awbar, and he is known, though he is more famous by his kunya than by his name. Nasai, Dulabi, Abu Ahmad Hakim, and others named him Ziyad. Ibn Main and Ibn Hibban rated him trustworthy, and he graded his hadith sahih." End of quote.Hafiz Haythami wavered concerning him, saying at one point, "I have not found anyone who described him as trustworthy, nor did anyone declare him daif" (Majma al-Zawaid, 542), and at another point, "Trustworthy" (8/292). For more, see "Turning Away to the Right and Left After the Taslim."The hadith has another isnad, which Abu Shaykh recorded in Akhlaq an-Nabi ﷺ (p. 120), from Ibrahim bin Muhammad bin Harith, who said, Muhammad bin Amr bin Jabala told us, Muhammad bin Marwan Aqeeli told us, from Hisham, from Muhammad, from Abu Hurairah, who said, The Prophet ﷺ prayed both barefoot and with his sandals on.This chain contains Muhammad bin Marwan bin Qudama Aqeeli, concerning whom there is disagreement, though his isnad is hasan. Abu Dawud said, "Trustworthy, truthful," and Ibn Hibban mentioned him among the trustworthy narrators.