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 contract considered valid if concluded at home by the marriage official (Ma`zon)?
Yes, it is valid as long as it is registered at the court.
Should a prayer performer who forgets to offer the middle Tashahod (saying ash-hadu anala ilaha ila-alah) offer Sujood As-Sahw (prostration of forgetfulness)?
He/she should offer two prostrations of forgetfulness at the end of the prayer. And Allah Knows Best.
What is the ruling on someone who is uncertain whether he omitted one of the ab‘āḍ of the prayer, such as being uncertain whether he omitted the first tashahhud?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
The ab‘āḍ include the middle tashahhud and the qunūt in Fajr prayer — for which sujūd as-sahw (the prostration of forgetfulness) is prescribed if left out. Whoever is uncertain, during the prayer, whether he omitted one of these elements, should proceed on the assumption that he did not perform it, and should perform sujūd as-sahw accordingly.
It is stated in ‘Umdat as-Sālik (p. 63): "If he is uncertain... whether he omitted a specific ab‘āḍ element, or whether he performed sujūd as-sahw, or whether he prayed three or four rak‘ahs — he proceeds on the assumption that he did not do it, and performs sujūd as-sahw."
The original principle (al-aṣl) for someone uncertain about [having performed] the first tashahhud is that he assumes he did not perform it. And Allah, the Exalted, knows best.