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.
I made a vow "If the Israeli troops retreated out of Gaza strip I will buy a cake from a certain bakery" and it happened. Am I obliged to buy from the same bakery?
You are obliged to buy from the same bakery. And Allah Knows Best.
I am an author, and I have books stored with me. Is it permissible to pay my zakat in the form of books containing beneficial knowledge for poor students, such as chemistry and mathematics, or religious books that spread Islamic sciences?
Zakat on wealth must be paid in cash from the wealth itself. Therefore, you should pay your zakat in monetary form so that the poor can purchase what they need. And Allah Knows Best.
What is the ruling on paying a sum of money to Saudi citizen in return of having Saudi residence? It is worth noting that this transation is labelled as a "worker's visa" but I am not going to work as such only to facilitate having it?
Allah The Almighty Says (What means): "O you who have believed, fear Allah and be with the truthful" [At-Tawbah/119]. False statements contradict truthfulness, and it is not permissible to write them. A Muslim has the right to live in any Islamic country, and those who prevent him will be accountable before Allah about their action and the justification for the prohibition. And Allah Knows Best.