What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty knows best.
What do you say about someone who stays up all night on Laylat al-Qadr but misses Fajr prayer?
Such a person has deprived themselves of a great reward. Performing obligatory acts is more beloved to Allah than voluntary acts. Fajr prayer is an obligation, and performing it in congregation is equivalent to worshiping for the entire night. So how can someone neglect it while striving for voluntary prayers?!
What is the ruling on fasting?
Fasting in Ramadan is an individual obligation (Fard ‘Ayn) upon every mature, sane Muslim who is capable of fasting.
Fasting can also be recommended (Mustahabb), such as voluntary fasting on Mondays and Thursdays, fasting on the Day of Arafah for those not performing Hajj, and fasting on Ashura.
Fasting can be prohibited (Haram), such as fasting on the two Eid days, the Day of Doubt (Yawm al-Shakk), and the Days of Tashreeq.
Some types of fasting are disliked (Makruh), such as singling out Friday or Saturday for fasting without a specific reason and fasting on the Day of Arafah for a pilgrim.
What is the ruling on one who vowed not to speak to a certain person, then forgot his vow and spoke to him?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Whoever swears an oath or makes a vow to abstain from something has a choice: if he wishes, he may keep to his vow, or if he wishes, he may offer the expiation of an oath (kaffārat yamīn). The Prophet (peace and blessings be upon him) said: “The expiation for a vow is the expiation for an oath.” Narrated by Muslim. This type of vow is called a nadhr al-lajāj (a vow made in stubbornness or anger).
If a person makes a vow and then forgets it, nothing is due from him, for forgetfulness is among the excuses that lift legal responsibility (taklīf) from a Muslim. This is based on the saying of the Prophet (peace and blessings be upon him): “Actions are judged only by intentions, and every person will have only what he intended.” [Narrated by al-Bukhārī]. There is no intention for the one who forgets or errs. It is also based on the report: “Indeed, Allah has pardoned for my Ummah mistakes, forgetfulness, and what they are compelled to do.” Narrated by Ibn Mājah and others, and graded authentic by Ibn Ḥibbān and al-Ḥākim.
It is stated in ʿUmdat al-Sālik (p. 243), one of the books of the Shāfiʿī school: “Whoever swears, [for example], ‘I will not enter the house,’ and then enters it forgetfully, ignorantly, under compulsion, or being carried, he does not break his oath.” And Allah Almighty knows best.