Is it permissible for a person who had vowed to give a certain amount of money to another, but didn`t find the latter to donate that money to the mosque?
In principle, the vowing person should abide by his vow as much as possible. Therefore, if he couldn`t find the person that he had made the vow for, then the vow itself is countless and nothing is due on its maker. However, if the latter happens to find the former later on then, he has to give him that money.
I suffer from excessive gas, especially when I pray, and I redo my ablution more than seven times. I have obsessive thoughts about this matter, even though I went to a doctor and was given medication that did not help. What should I do?
If the release of gas stops at certain times between prayers, you should wait for that time, perform ablution, and pray. However, if it is continuous, you should perform ablution after the prayer time begins and pray, and the release of gas during the prayer is excused. And Allah The Almighty Knows Best.
Is the marriage contract considered valid if concluded at home by the marriage official (Ma`zon)?
Yes, it is valid as long as it is registered at the court.
What is the Islamic ruling regarding a person finding buried treasure, whether gold or artifacts, and what is their share of it?
If the buried treasure is Islamic, it is considered Luqta (lost property), and the finder must announce it to locate its owner. If all efforts to find the owner fail, the finder may take ownership of it. If the treasure is non-Islamic and consists of gold or silver, zakat must be paid on it, which is one-fifth of its value. And Allah Knows Best.