Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is permissible to perform the obligatory prayer (Fard) immediately after the commencement of the prayer time. As the Adhan (call to prayer) serves as a sign that the time has entered, it is permissible to pray as soon as the Adhan begins. However, it is recommended (Mustahabb) for whoever hears the Mu’adhin to repeat what he says. If the Adhan occurs while one is already engaged in prayer, he should repeat the words of the Mu’adhin after he has completed his prayer. And Allah the Exalted knows best.