It is narrated from Sayyiduna Majma' bin Yazid that he saw the Prophet (ﷺ) performing prayer while wearing shoes.