Praying Dhuhr and then Asr during Dhuhr time is called jamʿ al-taqdīm, an advance combination.
In the Hanafi discussion here, joining the imam's congregation is distinguished from praying alone. The latter is treated differently by Abu Hanifah and his two students.