What should I do if I wake up while the sun is rising? Usually I go back to sleep since the time is up and it's makrooh but I feel very bad afterwards for doing that.
It's obligatory to pray Fajr immediately in this case, even if it's prohibited to pray the sunnah and other voluntary prayers at that time.