What is the basis for deciding rulings concerning precedence when there is no explicit text?

Chapter on the Description of Prayer

Al-Mughni

Book of Prayer

Book 3 · Issue 5 · Bab 5

Open in Qurani

Primary text

The preferred approach in matters without specific text concerning precedence is to adhere to what aligns with the precedent set by the Prophet's action in the Salat al-Khawf (fear prayer), returning the matter to the closest established ruling. If such precedence is performed without a valid excuse, the prayer is invalidated because intentionally abandoning adherence to the Imam is a breach of obligation.