A person owns sheep or goats and occasionally feeds them from the grass in other people's orchards without the owners’ permission. Is it permissible to eat the meat of these animals if invited to do so? Is it permissible to purchase from these sheep whose owner feed them from people's orchards without their permission, and can one accept gifts from them, such as meat or milk?
Yes, it is permissible because the one who is accountable is their owner, and the cost of the grass on his accountability. In addition, in order to be on the safe side you should abstain from eating his products, because his sheep case is as if they were fed on impurities. And Allah Knows Best.
What is the ruling on reciting verses of the Holy Quran on water, then drinking it?
It is permissible to recite Quran on water, then drink it as a kind of treatment since the Quran heals. Allah, The Almighty, Says (What means): "We send down (stage by stage) in the Qur’an that which is a healing and a mercy to those who believe: to the unjust it causes nothing but loss after loss." [Al-Isra`/82].
What is the ruling on visiting a deceased's grave and supplicating Allah for him by his wife? Is the reward of reciting verses of the Holy Qur'an reaches the deceased?
There is no harm on visiting graveyard by woman with the intention of piety so long as they are dressed in accordance to the Islamic teachings. We ask Allah, The Almighty that the reward of reciting the Holy Qur'an on dedicated to the deceased reaches him. And Allah Knows Best.
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.