From Sahih Muslim (Hadith 1236): 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