Answered by Ustadh Tabraze Azam
Question: When is the last time one can pray the ‘Asr prayer in the hanafi madhab?
Answer: Assalamu alaikum wa rahmatullahi wa barakatuh,
I pray that you are in the best of health and faith, insha’Allah.
The `Asr prayer is valid if it is, at the absolute minimum, begun in its time (i.e. before Maghrib.)
However, it is prohibitively disliked (makruh tahriman) and sinful to pray during sunset. Sunset begins, as the jurists explain, when you can look directly at the sun unaided and without difficulty.
Moreover, it is obligatory to start and finish the prayer within its respective prayer time.
Please see also: Prohibited times for Prayers and Makeup Prayers
And Allah alone gives success.
Checked & Approved by Shaykh Faraz Rabbani.