Sunset And Namaz
If you’ve missed Asr or Fajr prayer, you can still offer them even if the sun sets or rises during the prayer. However, during this transitional period of setting or rising of the sun (around 10-15 minutes), don’t perform any additional voluntary prayers until the sun has fully set or risen.
In that case you just need to complete the rest of your prayer.