You must not do this as a habit. Try to offer the prayer earlier. However, if you prayed one Rakah before the sun began to rise, your prayer is valid.
You must not do this as a habit. Try to offer the prayer earlier. However, if you prayed one Rakah before the sun began to rise, your prayer is valid.