How many rak‘ahs are there in Tarawih prayer?
The most complete form of Tarawih prayer consists of twenty rak‘ahs, excluding Shaf‘ and Witr. This is the opinion of the majority of scholars, both past and present, and it is the practiced tradition in the two Holy Mosques.
However, Tarawih is valid with any even number of rak‘ahs, even two rak‘ahs, as long as it is performed with the intention of Qiyam al-Ramadan.
Is it valid to perform Tarawih prayer at home?
It is Sunnah for a Muslim to perform Tarawih prayer in congregation at the mosque.
However, if a person sometimes prays it at home in congregation with their family for a valid reason, there is no harm in doing so.
Which is better in night prayer: long standing (Qiyam) or long prostration (Sujood)?
Long standing (Qiyam) is better in prayer. However, a Muslim should also observe tranquility and composure in their prayer.
What is the ruling on a person in a state of major impurity (junub) or a menstruating woman (ha'id) reciting the Quran from memory?
It is not permissible for a menstruating woman, a postpartum woman, or a person in a state of major impurity to recite anything from the Quran, whether from memory, from the Quran, from a phone, or a computer. It is also not permissible for them to touch the Quran, based on what was reported from Ali bin Abi Talib that the Prophet (peace be upon him) was not prevented from anything regarding the Quran except major impurity (janabah). (Reported by al-Tirmidhi who said it is a hasan sahih hadith). Menstruation and postpartum bleeding are analogous to major impurity (janabah) as they are all major impurities (hadath akbar).
For those mentioned, it is permissible to mention Allah and supplicate even with verses from the Quran, provided they do not intend them as recitation of the Quran, but intend them as remembrance (dhikr) or supplication (du'a). And Allah the Almighty knows best.