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.
What is the ruling on training dogs that are of benefit?
All perfect praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
This is permissible because Allah The Almighty Says (What means): "They ask thee what is lawful to them (as food). Say: lawful unto you are (all) things good and pure: and what ye have taught your trained hunting animals (to catch) in the manner directed to you by Allah. eat what they catch for you, but pronounce the name of Allah over it: and fear Allah. for Allah is swift in taking account." [Al-Ma`idah/4]. However, it is prohibited to keep dogs for no benefit because Salim reported on the authority of his father that Allah's Apostle (PBUH) said: "He who kept a dog other than one meant for hunting or for watching the herd, lost two qirat of his reward every day." [Moslim]. And Allah The Almighty Knows Best.
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.
My father placed shares worth twenty dinars in one of the banks, and their value doubled to become five thousand dinars. When my father passed away, one of the scholars told us that it is permissible for us to take the money. What is the ruling on this money, considering that it comes from a bank and involves interest (Riba)?
Allah The Almighty Said (What means): "And if you repent, then for you is the principal of your wealth. You do not wrong, nor are you wronged." [Al-Baqarah/279]. This is the precautionary ruling regarding what you are asking about. You are entitled to the principal amount, and you should give the excess as charity to the poor and needy. If you are poor, you may take from it. And Allah The Almighty Knows Best.