TABARANI 9567:
from Atá ʿAbdullāh b. Masʿūd a man —
[Machine] O Abu Abdurrahman, indeed I was in a state of major impurity (janabah) and did not perform the ritual purification (ghusl) until morning came. So Abdullah said, "You were in a state of major impurity, so the prayer was not permissible for you. But since you have performed the ritual purification, the prayer is permissible for you and fasting is also permissible for you." And that was during Ramadan.
الطبراني ٩٥٦٧:
عن اتى عبد الله بن مسعود ا من —
يَا أَبَا عَبْدِ الرَّحْمَنِ إِنِّي كُنْتُ جُنُبًا فَلَمِ اغْتَسَلْ حَتَّى أَصْبَحْتُ فَقَالَ عَبْدُ اللهِ «كُنْتَ جُنُبًا لَا تَحِلُّ لَكَ الصَّلَاةُ فَاغْتَسَلْتَ فَحَلَّتْ لَكَ الصَّلَاةُ وَحَلَّ لَكَ الصِّيَامُ» وَذَلِكَ فِي رَمَضَانَ
hadithunlocked.com