Ibn Jurayj narrates from Ata (may Allah have mercy on him): If you catch the Asr prayer and have not prayed Zuhr, then make the prayer you caught with the imam Zuhr, and pray Asr after that.