Is Aqeeqah due on the miscarried embryo?
No Aqeeqah is due on the miscarried embryo.
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.
When is Istikharah (guidance prayer) Du`a offered, before Tasleem (saying asalamu alikum warahmatu allah wa barakatuh to end the prayer), or after it?
It is offered after Tasleem.
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.