"I told my family at night: 'I will fast tomorrow as qaḍā' (a make-up fast),' but I forgot to make the intention before sleeping. Is my fast valid?"
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
The intention is obligatory in acts of worship. For obligatory fasting, the required intention is to resolve to fast during the night [before dawn]. Its proper locus is the heart, while verbalizing the intention out loud in acts of worship is a sunnah — so that the tongue may align with the heart. If the intent behind the statement in question was the intention to fast, then it is valid; but if the intent was merely to inform someone, or reflected hesitation or doubt, then it is not valid.
It is stated in *Bushrā al-Karīm* (Vol.1/P.216): "It is a sunnah to verbalize the intention — that is, whatever has already been intended in the heart, whether an obligatory or a voluntary act — such as specifying the number of rak‘ahs, just before the opening takbīr — so that the tongue may assist the heart, and because this is further removed from whispered doubts (waswasah), and in order to accommodate the view of those who held it obligatory in every act of worship that requires an intention (even though this is a minority position), by analogy with Ḥajj."
Accordingly: if the intention to fast arose in your heart before the second adhān [i.e., before Fajr], then your fast is valid.
And Allah, the Exalted, knows best.
Is it permissible to delay the ritual purification (ghusl) from major impurity (janabah) until after dawn?
Yes, it is permissible to delay ghusl from janabah until after dawn, as purity from janabah is not a condition for the validity of fasting. However, one must perform ghusl in time to pray Fajr within its designated time.
Should a person feel pleased, or have a virtuous vision after offering Istikhara (guidance prayer) in order to do what he/she had offered it for?
The result of the Istikhaarah is not necessarily that a person sees something (in his dream), or feels pleased, but the most important result of the Istikhaarah is whether a person is enabled to do a given matter or not.
What is required of one who doubts the number of rakʿāt during prayer?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a person doubts the number of rakʿāt he has prayed, he should build upon the lesser number, as that is what he is certain of. He should then perform the prostration of forgetfulness (sujūd al-sahw) before the final salām at the end of the prayer. ʿAṭāʾ ibn Yasār narrated that the Messenger of Allah ﷺ said: "When any one of you is in doubt during his prayer and does not know whether he has prayed three rakʿāt or four, let him pray one more rakʿah and then perform two prostrations while seated before the salām. If the rakʿah he prayed was a fifth, these two prostrations will make it even; and if it was the fourth, then the two prostrations serve as a humiliation for the devil." (Reported by Abū Dāwūd.)
It is stated in al-Muqaddimah al-Ḥaḍramiyyah — one of the foundational texts of the Shāfiʿī school: "If one doubts whether he has prayed three rakʿāt or four, he is obliged to build upon the lesser number."
However, if such doubt recurs repeatedly and reaches the level of obsessive whispering (waswasah), he should not build upon the lesser number in that case — rather, he should build upon the greater number. And Allah the Almighty knows best.