What action must be taken if the gap in memory (fasil) after prematurely saluting is prolonged?
Chapter on the Two Prostrations of Forgetfulness
Al-Mughni
Book of Prayer
Primary text
If the person does not remember the omission until a prolonged separation of time has passed, or if their ablution is nullified, they must restart the entire prayer anew. This applies equally to the view of ash-Shafi'i for a short delay resembling the case of Dhu al-Yadayn, and to the view of Malik. This is based on the principle that a prayer cannot be built upon another after a long separation, analogous to the nullification of ablution.
Supporting text
Yahya al-Ansari, al-Layth, and al-Awza'i maintain that building upon the prayer is permissible as long as ablution has not been broken, regardless of the length of the delay.