What type of illness that permits breaking the fast in Ramadan?
It is an illness that, if one fasts, there is a fear it may lead to their death or cause unbearable hardship.
What is the ruling on doubting whether one or two prostrations were performed?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a worshiper is in doubt regarding the number of units (rak'ahs) or prostrations (sajdahs) performed, he must build upon the minimum (i.e., assume the lower number) and perform the prostration of forgetfulness (Sujud al-Sahw) before the Salam at the end of the prayer. This is based on the report from ‘Ata’ ibn Yasar that the Messenger of Allah ﷺ said: 'When anyone of you is in doubt about his Salat (prayer) and does not know how many he has prayed, three or four (Rak'at) he should cast aside his doubt and base his prayer on what he is sure of. Then, he should perform two prostrations before Taslim (salutation). If he has prayed five Rak'at, they will make his Salat (prayer) an even number for him and if he has prayed exactly four, they (i.e. two prostrations) will be humiliation for the devil..' (Narrated by Abu Dawud).
It is stated in Al-Muqaddimah al-Hadramiyyah: 'If one doubts [whether he performed] a bowing (ruku’), a prostration, or a rak'ah, he must perform it and prostrate [for forgetfulness], even if the doubt is removed before the Salam—unless the doubt is removed before he performs what would potentially be an addition. Thus, if he doubts whether he prayed three or four, he is obligated to build upon the minimum.' And Allah the Exalted knows best.
Is the one who gives up on marriage because he can`t afford it considered sinful?
Marriage is desirable, but one who can`t afford it isn`t considered sinful. However, he should supplicate to Allah, and seek His forgiveness.
If a person enters a mosque and finds the congregation in the final tashahhud, which is more virtuous — joining them or waiting for a second congregation to catch the opening takbīr (takbīrat al-iḥrām)?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a worshipper finds a congregation that is about to finish its prayer, and he hopes to catch the entire prayer from the beginning with another congregation, it is more virtuous for him to pray with this first congregation and then repeat the prayer with the second one — provided he does not intend to confine himself to a single prayer. If, however, he intends to perform only one prayer, then it is more virtuous for him to wait for the second congregation rather than joining the first, so that he may attain the reward of congregational prayer for every single rakʿah.
Al-Khaṭīb al-Sharbīnī, may Allah have mercy upon him, states: "If members of a congregation enter the mosque while the imam is in the final tashahhud, al-Qāḍī Ḥusayn held that it is recommended for them to join him in prayer, and that they should not delay in order to form a second congregation. Al-Mutawallī, however, affirmed the opposite view, and al-Qāḍī's own statement elsewhere supports this latter position, which is the relied-upon view. In fact, it is more virtuous for a person who has missed part of the prayer with one congregation, and who hopes to catch another congregation with whom he can attain the entire prayer within its proper time, to delay so that he may catch it in full with them. This applies when he intends to confine himself to a single prayer; otherwise, it is more virtuous for him to pray with the first group and then repeat the prayer with the others." [Mughnī al-Muḥtāj,Vol. 3/P.186] And Allah the Almighty knows best.