How should one proceed when one has missed years of prayers and the time for a current obligatory prayer arrives?
Chapter on the Description of Prayer
Al-Mughni
Book of Prayer
Primary text
If a person has missed years of obligatory prayers, they must make them up. When the time for a current obligatory prayer arrives, they must perform that prayer and count it as part of the missed prayers they are making up, performing the current prayer at the end of its time. One should not perform any current obligatory prayer except at the end of its designated time until all missed prayers are completed.