What is the ruling on entering the toilet with something containing the remembrance of Allah?
It is disliked to bring into the toilet anything containing a reminder of Allah, such as the Quran or a sacred name (like the name of Allah, Muhammad, etc.). If one does that, etiquette dictates that he conceal it so it is not visible while entering the toilet, either by cupping his hands over it, putting it in his pocket, or inside his shirt if it is a necklace or ring. And Allah the Almighty knows best.
Is the marriage, which lacks a valid legal contract, a guardian, and a court registration, valid?
It is incumbent that a valid marriage contract be concluded in the presence of a guardian and two trustful witnesses, and it should be registered in the court to protect the rights of the wife. Actually, a valid marriage contract is what differentiates between sound marriage and fornication.
Is it permissible for a woman to shake hands with her brother-in-law?
It is forbidden for the woman to shake hands with her brother-in-law because he isn`t a Mahram (unmarriageable) of hers.
Is it permissible for a woman to wear underwear while performing Umrah?
Yes, it is permissible for a woman to wear underwear while performing Umrah. This is because she should keep her regular clothes that cover all her body while being in a state of Ihram (ritual consecration) for Hajj, or Umrah. However, she should uncover her face and hands, but it is permissible for her to let her head-covering garment drape from her head down over her face when non-Mahram (i.e., marriageable) men pass by her. And Allah Knows Best.