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.
If someone prayed sitting or lying down because of illness, must he repeat the prayer after he recovers?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
If a sick person prays sitting or lying down in the obligatory prayer because he is unable to stand, and then recovers, he does not have to repeat what he prayed in those postures, because he was excused.
Shaykh al-Islām Imam al-Nawawī (may Allah have mercy on him) said: “The Ummah is unanimously agreed that whoever is unable to stand in the obligatory prayer prays it sitting and does not have to repeat it. Our fellow scholars said: His reward is not less than his reward when standing, because he is excused. It is established in Ṣaḥīḥ al-Bukhārī that the Messenger of Allah (peace and blessings be upon him) said: ‘When a servant falls ill or travels, there is recorded for him what he used to do when healthy and resident.’ Our fellow scholars said: It is not a condition of inability that standing be altogether impossible, nor does the slightest hardship suffice. What counts is clear hardship. If he fears severe hardship, a worsening of his illness, or the like, or if a passenger on a ship fears drowning or dizziness, he prays sitting and does not have to repeat.” [al-Majmūʿ, Vol.4/p.201]. And Allah Almighty knows best.
Is the son of the sister by breastfeeding considered a mahram in Islam, and is it permissible for a woman to go for Hajj with him?
Everything that is prohibited by lineage is also prohibited by breastfeeding. The son of the sister by breastfeeding is considered a mahram, just like the son of the sister by blood, and it is permissible for him to be her mahram for Hajj and Umrah. And Allah Knows Best.
Should a prayer performer who forgets to offer the middle Tashahod (saying ash-hadu anala ilaha ila-alah) offer Sujood As-Sahw (prostration of forgetfulness)?
He/she should offer two prostrations of forgetfulness at the end of the prayer. And Allah Knows Best.