How are gaps filled during congregational prayer?
A praying person is allowed to take two steps in order to fill the gap in the row ahead. If the distance was long and requires much movement, then it is impermissible for one to move to fill it because much consecutive movement (three movements) during prayer invalidates it.
How should a person who is afflicted with continued major ritual impurity (incontinence of urine, bleeding outside the monthly period) perform ablution?
Such a person should make ablution for every prayer after its due time and after removing impurities from their body and outfit, and should place a fresh diaper whenever needed so as for the impurity not to spread out. They should also perform prayer immediately even if incontinence of urine continued, and should repeat the aforementioned for every obligatory prayer, then perform optional prayer as much as they want.
Is it permissible to pray with a heater (stove) in front of me?
There is no harm in praying with a heater in front of you, as long as you do not intend to venerate the fire or imitate those who worship it. And Allah Knows Best.
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.