Question:
If scholars disagreed on a issue, can a consensus (ijma’) be reached on it later?
Answer:
The correct and preferred view is this: if the scholars disagreed on an issue, and later the scholars agree and reach a consensus on that issue, then this consensus will be a binding proof.
❀ Hafiz al-Nawawi (may Allah have mercy on him)
Reference: (676 AH)
says:
الأصح أن الإجماع بعد الخلاف يصح، والله أعلم
The correct and sound view is that reaching a consensus after a disagreement is valid, and Allah knows best!
Reference: (Sharh al-Nawawi: 26/7)