It is customary not to sleep during the day on Rosh Hashanah. Rather, one should engage in Torah study or recite Tehillim. One who is idle, however, is considered as if he slept. The Talmud Yerushalami notes:
If one sleeps at the beginning of the year, i.e., on Rosh Hashanah, his good fortune also sleeps.
One who is very tired to the extent where he will find it difficult to recite Minchah with the proper intention is permitted to take a brief nap in the afternoon.








What if someone accidentally slept till after sunrise on Rosh Hashanah, how can one rectify that as if it never happened?? Not to mention one would be extremely upset during the holiday because he overslept
Sleeping past sunrise is okay, but taking an extra nap later in the day is what should be avoided.