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.
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.
Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
Is everyone obligated to follow the fatwas of his country, and if we adopt the fatwas of scholars of other countries, is it considered a sin?
All perfect praise be to Allah, The Lord of The Wolrds and may His Peace and Blessings be upon our Prophet Muhammad and upon all of his family and companions.
It is permissible for the person who isn't specialized in Sharia sciences to apply the opinions of renowned scholars whom he trusts ,whether they be from his own country or not ,but if the scholars have different opnions regarding a certain issue/matter, then he must consult someone who is more knowledgeable than himself .It is preferable that you (the questioner) specify the case of your interest ,so that we could give you a more specific answer since some scholars deliver fatwas based on illogical/atypical opinions which should not be applied no matter what .And Allah The Exalted Knows Best.