What is the ruling regarding the absence of the intention (Niyyah) for prayer?

Chapter on what invalidates the prayer if omitted intentionally or forgetfully

Al-Mughni

Book of Prayer

Book 3 · Issue 2 · Bab 6

Open in Qurani

Primary text

The prayer is invalid in all circumstances without the intention, whether the person has an excuse or not. The intention is unique in that its absence invalidates the prayer unconditionally.