What should one who forgot to offer the second Sajda during congregational prayer, and remembered it before the end of the prayer do?
All perfect praise be to Allah, The Lord of The Worlds. Whoever forgets a pillar of prayer while in congregation must follow the lead of the Imam, and after the latter offers Tasleem, he should offer one Rakah, then perform Sujood As-Sahw (prostration of forgetfulness). And Allah Knows Best.
Is it allowed for a Muslim woman to wear nail polish?
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.
Nail polish is an adornment that a woman is allowed to wear for her husband, and not in the presence of non-Mahram men. However, during ablution water needs to reach the nails, so it isn`t possible to perform 'Wudu (ablution) with nail polish on. Therefore, it isn`t valid to make Ghusl Jnabah (Ghusl performed after sexual intercourse or ejaculation), Ghusl after menstruation and Ghusl after Nifas (blood of childbirth) while wearing nail polish. And Allah The Almighty Knows Best.
Is it permissible for a woman who broke fasting due to a delivery to pay a ransom?
She should make up for the missed fasting days once she becomes ritually pure, but it is impermissible for her to pay a ransom while being able to fast.
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.