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.
What is the ruling on swearing a false oath by the Holy Quran?
Swearing a false oath by the Holy Quran dips the oath-taker in Hellfire, and one who had done so should turn to Allah in repentance, seek His forgiveness, give back rights to whom they belong, and pay the oath expiation.
Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
What is the expiation for being forced to give a false testimony in order to achieve reform?
Achieving reform is done by following the way of Allah through giving back rights to whom they belong. Therefore, repenting to Allah from false testimony is only achieved by abrogating it, and the person in question should expiate for that oath if he had taken it, so that Allah may forgive him.