What is the ruling on staring at the Holy Ka'abah?
All perfecy praise be to Allah, The Lord of The Worlds and may His Peace and Blessings be upon our Prophet Muhammad and upon all of his family and companions.
Staring/looking at the Holy Ka'abah is an act of worship even if this took place while performing a prayer, since Al-Baihaqee stated that the Prophet (PBUH) said: " Staring at the Holy Ka'abah is an act of devotion." [Sho'aab Al-Imaan]. And Allah Knows Best.
Is it permissible to make up missed prayers at the times in which praying is disliked?
All perfect praise be to Allah,The Lord of The Worlds It is permissible to make up missed prayers at any time even that in which praying is disliked. Absolute supererogatory prayer is forbidden to be performed at the times in which praying is disliked, and this also applies to Ihram and Istikhara prayers. However, there is no harm in offering prayers in Mekah during those times. And Allah Knows Best.
Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.
What is the torment of the grave?
We seek refuge in Allah from the torment of the grave. The important point is that the cause of the torment of the grave is disbelief or committing sins without repentance. It affects the soul, and the body is impacted by it, even if we do not see it. And Allah Knows Best.