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.
A woman used contraceptive pills, and her menses exceeded (15) days, is it permissible for her to fast?
The maximum of menstrual blood is (15) days, but if it exceeded that due to a medication, or the like, then it is Istihadah (bleeding outside the monthly period), and in this case she should perform Ghusl (ritual bath), pray, and fast. Moreover, she is obliged to make up for the missed fasting days which exceeded her regular menses. And Allah Knows Best.
What is the ruling on the existence of cattles' marketplace of (Sheeps, cows and chickens ) inside a graveyard?
Graves must be respected, and it is not permissible to sit on them or show any disrespect. Establishing a marketplace within a cemetery is undoubtedly a form of disrespect to the deceased and is not permissible. Such actions should not be tolerated. And Allah Knows Best.
When the soul leaves the body, does it hear and see? And where does the soul go?
The important thing is that the soul departs while its owner is a believing, repentant Muslim, as this is a good ending. As for the details, they are lengthy. The grave is either a garden from the gardens of Paradise or a pit from the pits of Hellfire. And Allah The Almighty Knows Best.