Is it permissible for a woman in her waiting period (Iddah) after her husband's death to leave her house and mix with non-Mahrams?
It is not permissible for a woman in her waiting period (Iddah) after the death of her husband to leave her house except for a necessity, such as for medical treatment, nor is she allowed to mix with non-Mahrams. A woman is not permitted to mix with anyone other than her husband or Mahrams, whether she is in her waiting period or not. However, there is no harm in accepting condolences from those who visit and responding to their inquiries about her well-being. And Allah Knows Best.
When is Istikharah (guidance prayer) Du`a offered, before Tasleem (saying asalamu alikum warahmatu allah wa barakatuh to end the prayer), or after it?
It is offered after Tasleem.
I am an author, and I have books stored with me. Is it permissible to pay my zakat in the form of books containing beneficial knowledge for poor students, such as chemistry and mathematics, or religious books that spread Islamic sciences?
Zakat on wealth must be paid in cash from the wealth itself. Therefore, you should pay your zakat in monetary form so that the poor can purchase what they need. And Allah Knows Best.
What is the ruling on not offering prayer in a nearby mosque, and going to a distant one?
All perfect praise be to Allah the Lord of the Worlds. May Allah`s peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
Praying in the nearby mosque takes precedence unless there was a circle of knowledge, or a larger congregation in the distant mosque provided that the congregational prayer in the nearby mosque isn`t undermined. And Allah Knows Best.