Sahih Muslim, Book 5, Hadith 74 (Muslim 1227)

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.