Published in: Shumara al-Sunnah, Jhelum
Answer:
Upon remembering, one must perform wudu or ghusl and repeat the prayer.
Sayyiduna ʿAbdullāh ibn ʿUmar رضي الله عنه narrated that the Messenger of Allah ﷺ said:
لَا تُقْبَلُ صَلَاةٌ بِغَيْرِ طُهُورٍ
"A prayer is not accepted without purification."
[Ṣaḥīḥ Muslim: 224]
Answer:
Upon remembering, one must perform wudu or ghusl and repeat the prayer.
Sayyiduna ʿAbdullāh ibn ʿUmar رضي الله عنه narrated that the Messenger of Allah ﷺ said:
لَا تُقْبَلُ صَلَاةٌ بِغَيْرِ طُهُورٍ
"A prayer is not accepted without purification."
[Ṣaḥīḥ Muslim: 224]