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.
What is the ruling on performing the standing (qiyām) and bowing (rukū‘) portions of the prayer normally, while performing the prostration (sujūd) seated due to knee pain?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
If performing sujūd (prostration) in prayer causes the worshipper pain in the knees, then it is permissible for him to perform it through gesture (īmā') while seated, since Allah, Glorified and Exalted is He, has lifted hardship from His servants. On the authority of ‘Imrān ibn Ḥuṣayn (raḍiyallāhu ‘anh), he said: "I suffered from hemorrhoids, so I asked the Prophet ﷺ about [how to perform] the prayer, and he said: 'Pray standing; if you are unable, then sitting; and if you are unable, then on your side.'" [Ṣaḥīḥ al-Bukhārī]
If the valid excuse later subsides, the worshipper is then obligated to perform the prayer with all its pillars and conditions fully observed — including standing, rukū‘ (bowing), and sujūd (prostration). And Allah, the Exalted, knows best.
Is it a condition that one should offer two sacrifices for a male newborn?
It is desirable to offer two sheep for a male newborn, and one for a female newborn. Offering one sheep for the male newborn is also permissible as it observes the Prophet`s Sunnah in this regard.
Which is better during the day in Ramadan: reciting the Quran or performing voluntary prayers?
A Muslim should establish a daily schedule for reciting the Quran in Ramadan.
Once they have completed their daily portion (known as a wird or hizb), they can engage in other acts of worship, including voluntary prayers (nawafil). Prayer itself is called "Quran", because a significant part of it involves reciting the Quran.
Allah says: "BE CONSTANT in [thy] prayer from the time when the sun has passed its zenith till the darkness of night, and [be ever mindful of its] recitation at dawn: for, behold, the recitation [of prayer] at dawn is indeed witnessed [by all that is holy]." [Al-Isra`/78]