Anyone who offers Salah wearing shoes, their Salah will be valid. There are some authentic Hadith
which permit offering Salah in footwear. It was reported that
Anas ibn Malik (may Allah be pleased with him) was asked:
Did the Prophet (peace be upon him) use to offer Salah in his footwear? He said: Yes.
Muslim in their Sahih [authentic] Books of Hadith and Imam
Ahmad in his Musnad [Hadith compilation]) The Prophet (peace be upon him) has exhorted Muslims to offer Salah in their shoes and Khuffs (leather socks) as it was reported by
Shaddad ibn Aws (may Allah be pleased with him) who said that the Messenger of Allah (peace be upon him) said:
Do the opposite of
the Jews because they do not offer Salah in their shoes or Khuffs.
Abu Dawud in his book of Sunan [Hadith compilations classified by jurisprudential themes]) It was authentically reported that the Prophet (peace be upon him) offered Salah while barefoot and while wearing footwear, which indicates the permissibility of both. Moreover, it was related by Imam
Abu Dawud, and
Ibn Majah with a good Sanad (chain of narrators) on the authority of
`Amr ibn Shu`ayb from his father from his grandfather that he said:
I saw the Messenger of Allah (peace be upon him) offering Salah barefooted and while wearing shoes.
Anyone who wants to offer Salah in their shoes must be sure that they do not contain any Najasah. If they are Tahir (pure), they may offer Salah in them; otherwise they must take them off and remove the Najasah. It was narrated on the authority of
Abu Sa`id Al-Khudry (may Allah be pleased with him) that the Messenger of Allah (peace be upon him) said:
When one of you comes to the Masjid (mosque), he must look at his shoes and if they contain filth or impurity he must clean them and then offer Salah in them.
(Related by Imam
Abu Dawud) (Part No. 5; Page No. 162) May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.