He forgot to rinse his mouth and nose when doing ghusl for janaabah
Question

During the Ramadan before last, I had a wet dream and when I did ghusl for janaabah, I did not rinse my mouth and nose. But after doing ghusl and drying myself, I remembered and I did wudoo’. I asked my brother who is a graduate in the specialty of fiqh, and he said that that is permissible. My question is: is it really permissible? If it is not permissible, do I have to make up the fasts and prayers of the days that followed that ghusl?
Praise be to Allah.Your ghusl is valid, and you do not have to do anything, in sha Allah. The fact that you rinsed your mouth and nose after you had done ghusl and dried your body does not matter, because it did not go against doing the actions one after another in ghusl, and the time between doing ghusl and rinsing your mouth and nose, is the time it took to dry yourself. This is regarded as a short time that does not cancel out doing the actions one after another. Moreover, in the case of obligatory ghusl, it does not matter if rinsing the mouth and nose are delayed until after finishing ghusl, because doing the actions in order in ghusl is not obligatory.
For more information, please see the answer to question no. 88066 .
However, we may note here that there is a considerable difference of opinion among the scholars as to whether rinsing the mouth and nose are stipulated as part of ghusl. As you asked someone who is specialised in fiqh, thinking that he was qualified for that, and he advised you based on a scholarly view that carries weight, there is no blame on you for acting on what he said. In fact, this is what is required of you, even if it becomes clear to you later on that his view is incorrect. What was done was valid, and you do not have to repeat it.
Note: it is not a condition of fasting being valid that the person should be in a state of purity whilst fasting, as has been explained previously in the answer to question no. 181351 .
Based on that, if someone did not do the obligatory ghusl, or he did ghusl but it was not valid, then he fasted, his fast in that case is valid.
And Allah knows best.