I asked Anas, "Did the Prophet ﷺ pray in his sandals?"He said, "Yes."
سألت أنسا أكان النبي ﷺ يصلي في نعليه؟ قال: نعم.
Bukhari narrated it in the Book of Dress (5850), and Muslim narrated it in the Book of Mosques (555), both through routes from Saeed bin Zayd Abu Maslama, who said, "..." then he mentioned it.