Is it permissible to distribute the raw meat of the vowed animal sacrifice amongst the poor/to offer it to them in cooked form?
It is impermissible for the vow-maker to eat from the vowed animal sacrifice, rather, he/she should distribute it as he/she had intended upon making the vow, but if the vow was a general one, without any specification then, it is better to give it as raw meat.
In our region in southern Oman, specifically in the city of Taqah, there is a mosque that they say was built hundreds of years ago. This mosque is surrounded by graves, meaning it is in the middle and the graves are around it. People in our area differ, with some considering it permissible and others considering it forbidden to pray there. Moreover, my grandmother saw in a dream that she entered this mosque..."
Praying in this mosque is valid and and there is reprehensibility in its location so long as no grave exist within it. Besides, Sharia rulings aren't derived out of dreams. And Allah Knows Best.
Is it permissible for one to shake hands with his uncle`s daughter?
No, it isn`t because he is a non-Mahram (Marriageable) to her.
Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.