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.
Is buying and storing gold bars for profit permissible or prohibited?
Buying and storing gold bars for profit is permissible, and there is no harm in it. And Allah The Almighty Knows Best.
Is it permissible for a woman who has become pure before the end of forty days of confinement to perform different acts of worship? and is it lawful for her husband to have sex with her?
Once postpartum bleeding ceases and she is certain that it won`t happen again, she becomes pure, and so she should perform Ghusl (ritual bath), pray, and fast. She can also have sex with her husband even before the end of (40) days because the minimum of postpartum bleeding is a moment, and the maximum is (60) days. However, the postpartum bleeding for the majority of women is (40) days, but this does not apply to rest of them.
Is it permissible to offer Istikhara prayer (seeking guidance) after Witr Prayer (A confirmed Sunnah which is offered after Isha prayer and before Fajir prayer with a minimum of 3 Rak`as and a maximum of 11)?
It is permissible to offer Istikhara before and after Witr prayer as it is permissible at any time except that in which prayer is disliked. And Allah Knows Best.