I asked Anas bin Malik, "Did the Messenger of Allah ﷺ pray while wearing his sandals?"He replied, "Yes."
أخبرنا عمرو بن علي عن يزيد بن زريع وغسان بن مضر قالا
سألت أنس بن مالك أكان رسول الله ﷺ يصلي في النعلين قال نعم
Bukhari transmitted it in the Book of Prayer, chapter on praying in sandals, hadith 386, and Muslim in the Book of Mosques, chapter on the permissibility of praying in sandals, hadith 555, from the hadith of Abu Maslama with the same chain, and it is in Kubra, hadith 851.