ANSWER:
If you wake up before sunrise and you are able to finish it all before it begins to rise, this is the right thing to do. But if you wake up and there is very little time to pray, you must pray the fard first and then pray the sunnah.
ANSWER:
If you wake up before sunrise and you are able to finish it all before it begins to rise, this is the right thing to do. But if you wake up and there is very little time to pray, you must pray the fard first and then pray the sunnah.