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.
I work in an accounting and auditing office, and among the clients of the office are restaurants, hotels, and supermarkets that sell alcohol. Our work is limited to collecting invoices, whether purchases, sales, or expenses, and recording them in daily books. We also review income and sales taxes on behalf of these clients.
You are more knowledgeable about the nature of your work. If you see it as assisting in wrongdoing, then it is forbidden, as Allah The Exalted Says (What means): "And cooperate in righteousness and piety, but do not cooperate in sin and aggression" [Al-Ma’idah/2]. However, if your work is merely documenting the reality, then I hope there is no sin upon you. The the pious predecessors (Salaf) used to take the tithe from the traders of the People of the Book, even if it included alcohol, after knowing the value of their goods. And Allah The Almighty Knows Best.
Is Iddah (waiting period) incumbent on an old woman whose husband had died?
Upon the death of the husband, Iddah is incumbent on the wife regardless of their age. And Allah Knows Best.
A woman went for Hajj while pregnant, gave birth after leaving Arafat, and was unable to perform the Tawaf Al-Ifadah. If she cannot stay until she becomes pure from postpartum bleeding (Nifas) and she is from a distant country, what is she liable for?
This woman is advised to leave Mecca in a state of Ihram if the caravan departs. Once she reaches a distance where returning to Mecca is not feasible, she should consider herself in a state of being prevented (Muhsar). She may then exit Ihram, and she is required to offer a sacrificial animal (Blood) at that location. Additionally, she must perform a compensatory Hajj at the earliest possible opportunity. And Allah Almighty Knows Best.