What is the ruling on doubting whether one or two prostrations were performed?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a worshiper is in doubt regarding the number of units (rak'ahs) or prostrations (sajdahs) performed, he must build upon the minimum (i.e., assume the lower number) and perform the prostration of forgetfulness (Sujud al-Sahw) before the Salam at the end of the prayer. This is based on the report from ‘Ata’ ibn Yasar that the Messenger of Allah ﷺ said: 'When anyone of you is in doubt about his Salat (prayer) and does not know how many he has prayed, three or four (Rak'at) he should cast aside his doubt and base his prayer on what he is sure of. Then, he should perform two prostrations before Taslim (salutation). If he has prayed five Rak'at, they will make his Salat (prayer) an even number for him and if he has prayed exactly four, they (i.e. two prostrations) will be humiliation for the devil..' (Narrated by Abu Dawud).
It is stated in Al-Muqaddimah al-Hadramiyyah: 'If one doubts [whether he performed] a bowing (ruku’), a prostration, or a rak'ah, he must perform it and prostrate [for forgetfulness], even if the doubt is removed before the Salam—unless the doubt is removed before he performs what would potentially be an addition. Thus, if he doubts whether he prayed three or four, he is obligated to build upon the minimum.' And Allah the Exalted knows best.
Is "Bismillāhir-Raḥmānir-Raḥīm" a verse (āyah) of Sūrat al-Fātiḥah?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
The basmalah ("Bismillāhir-Raḥmānir-Raḥīm") is, without question, a verse (āyah) of the Noble Qur'an, and according to the Shāfi‘ī school, it constitutes a verse of Sūrat al-Fātiḥah itself. Al-Fātiḥah is a pillar of the prayer, and it consists of seven verses, of which the basmalah is one. The prayer is not valid without reciting it, nor if any of the Fātiḥah's verses, letters, or shaddahs (consonant doublings) are omitted or altered.
It is stated in Bushrā al-Karīm (Vol.1/p.202), from the books of the Shāfi‘ī school: "The basmalah is a complete verse of it [i.e., of al-Fātiḥah] in practice — and it suffices, for this to be established, that there be strong probability (ẓann), especially given that this has come very close to certainty (yaqīn), due to the consensus (ijmā‘) of the Companions on its inclusion in the muṣ-ḥaf [the written text of the Qur'an] in its script, despite their extreme diligence in excluding from it anything that did not genuinely belong to it — to the point that they even [carefully regulated] its diacritical dots and vowel markings." And Allah, the Exalted, knows best.
Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
A woman made a wig for herself from her own [previously shed] hair, which she wears on her head after having lost her hair [due to hair loss]. Is this permissible?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Since the hair belongs to the woman herself, the wig can be removed during the obligatory ghusl (ritual bathing), and part of the head can still be wiped during wuḍū' (ablution), there is no sharī‘ah objection to making this wig — provided she does not appear wearing it in front of non-maḥram men (Any males outside a woman's immediate family whom she is permitted to marry under Islamic law), since it is not permissible for them to look at a woman's detached hair.
It is stated in Rawḍat aṭ-Ṭālibīn wa ‘Umdat al-Muftīn: "Whatever it is not permissible to look at while still attached [to the body] — such as the male genitalia, a free woman's forearm, the hair of her head, and a man's pubic hair, and similar matters — it remains unlawful to look at even after it has been detached [from the body], according to the more correct position (al-aṣaḥḥ)." And Allah, the Exalted, knows best.