Hawzah News Agency – Q: A person sleeps prior to, or after, morning adhān. He becomes junub, realizing it after morning adhān. How much time does he have to perform ghusl?
A: Being junub under the mentioned condition does not invalidate that day’s fast. However, it is obligatory for him to perform ghusl for prayers, and he may delay it until the time of prayers.
Source: https://www.leader.ir/en/book/32/Practical-Laws-of-Islam