What is the ruling if hemorrhoid blood exits after completing ablution?
If this blood is exiting from outside the anus (due to the hemorrhoid protruding), it does not invalidate ablution, because blood exiting from the body from other than the two orifices does not invalidate ablution. If it exits from the anus (meaning from inside it), it invalidates ablution, and one must perform istinja' from it, wash the area of impurity, and repeat the ablution.
However, if this blood exits continuously such that no time remains sufficient for purification and prayer without it flowing, then it takes the ruling of urinary incontinence (sals al-bawl). One then cleanses from it after the time for each prayer enters, performs ablution immediately thereafter, and performs the obligatory prayer immediately. There is no liability upon him after that if something of it flows, and he may pray as many voluntary prayers as he wishes. If he wants to pray another obligatory prayer, he must cleanse himself and perform ablution. And Allah the Almighty knows best.
What is the expiation for perjury?
One who commits perjury should repent, seek Allah`s forgiveness and offer an expiation which is: feeding ten indigent persons, or clothing them, or giving a slave his freedom, but if that is beyond his means then, he should fast for three days. Allah, The Almighty, Says in this regard (What means): "Allah will not call you to account for what is futile in your oaths, but He will call you to account for your deliberate oaths: for expiation, feed ten indigent persons, on a scale of the average for the food of your families; or clothe them; or give a slave his freedom. If that is beyond your means, fast for three days. That is the expiation for the oaths ye have sworn. But keep to your oaths. Thus doth Allah make clear to you His signs, that ye may be grateful." [Al-Ma`idah/89].
What is the ruling on congregational prayer performed outside the mosque, and is it a condition that it be performed in a mosque in order to attain the full reward?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is not a condition for attaining the reward of congregational prayer that it be performed in a mosque; however, a Muslim should still be keen to perform his prayers in the mosque, so as not to miss out on immense reward. This is due to the virtue of the mosque and of spending time there (i‘tikāf), the typically larger number of worshippers present, and the additional reward gained through walking to and from the mosque. On the authority of Abū Hurayrah (raḍiyallāhu ‘anh), the Messenger of Allah ﷺ said: "Whoever purifies himself in his house, then walks to one of the houses of Allah to fulfill one of the obligations Allah has prescribed, one of his steps will erase a sin, and the other will raise him a degree [in status]." (Related by Muslim)
Whoever misses congregational prayer at the mosque should still strive to pray in congregation at his workplace, or together with the members of his household. And Allah, the Exalted, knows best.
If someone prayed sitting or lying down because of illness, must he repeat the prayer after he recovers?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
If a sick person prays sitting or lying down in the obligatory prayer because he is unable to stand, and then recovers, he does not have to repeat what he prayed in those postures, because he was excused.
Shaykh al-Islām Imam al-Nawawī (may Allah have mercy on him) said: “The Ummah is unanimously agreed that whoever is unable to stand in the obligatory prayer prays it sitting and does not have to repeat it. Our fellow scholars said: His reward is not less than his reward when standing, because he is excused. It is established in Ṣaḥīḥ al-Bukhārī that the Messenger of Allah (peace and blessings be upon him) said: ‘When a servant falls ill or travels, there is recorded for him what he used to do when healthy and resident.’ Our fellow scholars said: It is not a condition of inability that standing be altogether impossible, nor does the slightest hardship suffice. What counts is clear hardship. If he fears severe hardship, a worsening of his illness, or the like, or if a passenger on a ship fears drowning or dizziness, he prays sitting and does not have to repeat.” [al-Majmūʿ, Vol.4/p.201]. And Allah Almighty knows best.