Sa'd b. Yazid reported:I said to Anas b. Malik: Did the Messenger of Allah (ﷺ) pray while putting on the shoes? He said: Yes
Hadith No. 1236
Sahih Muslim
Sa'd b. Yazid reported:I said to Anas b. Malik: Did the Messenger of Allah (ﷺ) pray while putting on the shoes? He said: Yes