What is the ruling of Islamic Law on supplicating with other than the transmitted (Ma'thur) supplications in prayer?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
It is permissible to supplicate (make du'a) during the prayer for anything from the affairs of religion or worldly life, and the prayer is not invalidated by doing so.
Shaykh al-Islam, the Imam an-Nawawi, may Allah have mercy on him, says: "Our madhhab [i.e., the Shafi'i madhhab] holds that it is permissible for a person to supplicate during it [the prayer] with anything that is permissible to supplicate with outside the prayer, from the affairs of religion or worldly life. He may say: 'O Allah, grant me wholesome sustenance, offspring, a house, and a beautiful young wife' — describing her; or: 'O Allah, free so-and-so from prison,' or 'destroy so-and-so,' and other such things — and none of this invalidates his prayer according to us. And this is also the view of Malik, ath-Thawri, Abu Thawr, and Ishaq." [Al-Majmu', Vol.3/P.454]. And Allah, the Exalted, knows best.
What is the ruling on swallowing phlegm while fasting?
If a fasting person intentionally swallows phlegm, their fast is invalid, as it is possible to avoid it.
However, if they swallow it unintentionally, their fast remains valid.
Phlegm is impure and should be avoided.
What is the ruling on one who wiped over his leather socks (*khuff*) while resident and then traveled, or wiped while traveling and then became resident? And likewise, what is the ruling on one who incurred a minor ritual impurity (*ḥadath aṣghar*) while resident, then traveled and wiped while traveling?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Whoever wipes over his leather socks (khuffayn) while resident and then travels, or wipes while traveling and then becomes resident, before a day and a night have passed in both cases, completes the wiping period of a resident. If he wipes while resident and then travels after a day and a night have passed, he must remove the socks, because the period has ended. Likewise, if he wipes while traveling and then becomes resident after a day and a night have passed, he must remove them as well.
Whoever breaks his wuḍūʾ while resident and then wipes while traveling takes the ruling of a traveler as regards the duration of wiping, so long as he does not become resident. It is stated in ʿUmdat al-Sālik wa ʿUddat al-Nāsik (Vol.1/p.15): “If he wipes over both [socks] or one of them while resident and then travels, or wipes while traveling and then becomes resident, or doubts whether he began the wiping while traveling or while resident, he completes only the wiping period of a resident. But if he broke his wuḍūʾ while resident and wiped while traveling, he completes the period of a traveler, whether or not the full time of a prayer had passed over him while resident.” And Allah Almighty knows best.
Does the use of suppositories, enemas, or hemorrhoid creams affect the validity of fasting?
Enemas and suppositories inserted through either of the two private passages invalidate the fast. This ruling is based on the statement of Ibn Abbas (may Allah be pleased with him): "Breaking the fast occurs from what enters (the body), not from what exits." [Reported by Al-Bayhaqi in As-Sunan Al-Kubra]
His generalization regarding anything entering the body indicates that it invalidates fasting, whether it is nutritious or not, as even non-nutritious substances resemble food in form.
It is recommended to use them before Fajr or after Iftar. However, if a person must use them while fasting, they should continue refraining from food and drink for the rest of the day and make up for that day later.