What is the ruling when the monthly period when exceeding (15) days?
The maximum duration of menstruation is 15 days. If it exceeds this, it is considered irregular bleeding (Istihada). In this case, one must perform ghusl (Ritual bath) after menstruation, pray, and make wudu for each prayer after its time begins. She should return to her previous menstrual habit regarding duration and timing. For example, if her period used to be from the 20th to the 27th of each month, this is considered her menstruation period. Anything before or after this is Istihada, during which she only leaves prayer and fasting for the habitual menstrual days, then performs ghusl and resumes praying.
What is the ruling on determining the sex of the baby whether through killing the female spermatozoa, or any other way in order to have a male?
If it is done through having a certain type of food, taking a certain type of medication, or organizing the time of the marital relation, then it is permissible.
I prayed while I was in the hospital after a bladder surgery, and my urine was connected to me and could not be disconnected that day. I prayed after performing tayammum with my finger because I was unable to stand. What is the ruling?
After Allah grants you complete healing, make up the prayers you performed with your finger to the best of your ability, at times that suit you. And Allah Knows Best.
What should a praying person who doubts having offered one, or two prostrations in the third Rakah (unit of prayer) do?
Whoever has doubts about their prayer should consider what is less i.e. the above person should offer another Sajda (prostration) and complete his/her prayer, then offer Sujood As-Sahw (prostration of forgetfulness). And Allah Knows Best.