´It was narrated that Ibn Abu Aws said:` “My grandfather, Aws, used to perform prayer, and sometimes he would make a gesture while praying, and I would give him his sandals. He said: ‘I saw the Messenger of Allah (ﷺ) performing prayer in his sandals.’”
Explanation & Benefits
Maulana Ataullah Sajid
Benefits and Issues:
➊ It is permissible to gesture during prayer.
➋ It is permissible to put on or take off shoes during prayer.
➌ It is also permissible to pray while wearing shoes, as well as after taking them off. However, if visible impurity (najasah) is present on the shoes, then prayer is not valid while wearing such shoes until they are cleaned. If there is only dirt or the like, one should not be doubtful about it.
Source: Commentary on Sunan Ibn Mājah by Mawlānā ‘Atā’ullāh Sājid, Page: 1037