If a worshipper is performing a voluntary (Nafal) prayer alone, and the congregation for Fard begins before they prostrate in the second unit, what must they do?

Catching Obligatory Prayers (إدراك الفريضة) Part 1