What is the expiation for perjury?
Perjury is forbidden and one of the major sins that require turning to Allah in repentance, seeking His forgiveness, giving back rights to whom they belong, or seeking their forgiveness, and expiating for that oath.
Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
What is the ruling on istinja' after urination, and is it done with water and soap or with water only?
Istinja' from urine and stool is obligatory. It is permissible to perform istinja' with water alone, or with toilet paper alone. The best way is with toilet paper then water. If one wishes to suffice with one of them, then water is better. And Allah the Almighty knows best.
What is the ruling on one who slept while firmly seated on the ground, regarding nullification of ablution?
The default ruling regarding sleep is that it nullifies ablution. An exception to this is one who slept while firmly seated on the ground; his ablution is not nullified by sleep if he wakes up while still firmly seated on the ground. And Allah the Almighty knows best.