This is a Sunnah of Prophet ﷺ.
Narrated Sa`id Abu Maslama:I asked Anas (bin Malik), "Did the Prophet (ﷺ) use to offer the prayers with his shoes on?" He said, "Yes."
Sahih al-Bukhari, 5850
@_xeejnene Narrated Sa`id Abu Maslama:I asked Anas (bin Malik), "Did the Prophet (ﷺ) use to offer the prayers with his shoes on?" He said, "Yes."
Sahih al-Bukhari, 5850