What is the ruling on bypassing a nearby mosque for a distant one?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a distant mosque has a larger congregation (Jama‘ah) while the congregation in the nearby mosque is smaller, and the congregation in the nearby mosque is not adversely affected by the worshiper's absence, then it is better for him to pray in the distant mosque with the larger congregation. However, if the congregation in the nearby mosque would be affected by his absence—such as if he is its Imam, or if his presence encourages others to attend—then praying in the nearby mosque is better. This ensures that the congregation is established in two different locations within the community. This is based on the saying of the Prophet ﷺ: 'A man's prayer offered with another man is purer than his prayer which he offers alone, and his prayer with two men is purer than his prayer with one and if they are more (in number), it is more beloved to Allah, the Mighty the Majestic' (Narrated by Ahmad, Abu Dawood, and An-Nasa'i). And Allah the Exalted knows best.
What is required of one who doubts the number of rakʿāt during prayer?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a person doubts the number of rakʿāt he has prayed, he should build upon the lesser number, as that is what he is certain of. He should then perform the prostration of forgetfulness (sujūd al-sahw) before the final salām at the end of the prayer. ʿAṭāʾ ibn Yasār narrated that the Messenger of Allah ﷺ said: "When any one of you is in doubt during his prayer and does not know whether he has prayed three rakʿāt or four, let him pray one more rakʿah and then perform two prostrations while seated before the salām. If the rakʿah he prayed was a fifth, these two prostrations will make it even; and if it was the fourth, then the two prostrations serve as a humiliation for the devil." (Reported by Abū Dāwūd.)
It is stated in al-Muqaddimah al-Ḥaḍramiyyah — one of the foundational texts of the Shāfiʿī school: "If one doubts whether he has prayed three rakʿāt or four, he is obliged to build upon the lesser number."
However, if such doubt recurs repeatedly and reaches the level of obsessive whispering (waswasah), he should not build upon the lesser number in that case — rather, he should build upon the greater number. And Allah the Almighty knows best.
What is the validity of the formula for sending blessings upon our master Muḥammad ﷺ: *"Allāhumma ṣalli wa sallim wa bārik ‘alā sayyidinā Muḥammad wa ‘alā ālihi, ‘adada kamāli-Llāhi wa kamā yalīqu bikamālihi"* ("O Allah, send blessings, peace, and grace upon our master Muḥammad and his family, by the number of Allah's perfection, and as befits His perfection")?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is permissible to send blessings upon our master, the Prophet ﷺ, using the formula mentioned in the question, since sending blessings upon the Prophet ﷺ is an act of devotion legislated in its basic essence, without a specific prescribed wording required outside of the formal prayer itself. It is therefore valid to perform it outside of prayer using any formula. This particular formula involves multiplying the blessings sent upon the Chosen Prophet ﷺ to the number of the perfections of Allah, the Exalted — which are limitless — so that, by Allah's permission, its reward and benefit never cease.
The meaning of "the number of Allah's perfection" is that it is without limit, making the blessings sent boundless, corresponding to His perfection, Glorified is He, which cannot be enumerated or counted. This formula is analogous to the words of our Greatest Prophet ﷺ, as related in the authentic ḥadīth narrated by Imam Muslim: the Prophet ﷺ said to Sayyidah Juwayriyyah (raḍiyallāhu ‘anhā): "Indeed, I said four phrases after you [left], three times, which, if weighed against everything you have said since this morning, would outweigh them: Subḥān Allāhi wa biḥamdihi, ‘adada khalqihi, wa riḍā nafsihi, wa zinata ‘arshihi, wa midāda kalimātihi" (Glory be to Allah, and praise be to Him, by the number of His creation, by His pleasure, by the weight of His Throne, and by the extent of His words). And Allah, the Exalted, knows best.
Does Laylat al-Qadr move between the nights of Ramadan?
Laylat al-Qadr is definitely in Ramadan, and it is most likely in the last ten nights, especially on the odd-numbered nights.
For this reason, the Prophet ﷺ commanded observing worship in the last ten nights, and he himself used to dedicate those nights to worship. Many people put special effort into the 27th night of Ramadan, and they are rewarded in any case, whether they actually coincide with Laylat al-Qadr or not, because worshiping on any night of Ramadan carries great rewards.