The Quran says male sperm comes from the ribs of men; however, we know this is false, male sperm comes from the testicles.
The Quran contains many more incorrect writings and teachings; however, I won't spend more time shooting holes in it.
Breeding is a biological urge nobody can avoid it, hungry or not. All animals do it, only thing is when hungry sperm count is lower. It is the survival of the fittest.
The women should put a handful of cloves in one liter of water and drink it, especially during her fertility window. She should also get neem tree oil and apply it beforehand; it will kill all the sperm that enter.