What is the ruling on the cessation of blood after (40) days from delivery, but later continued sporadically during two days of Ramadan?
Once postpartum bleeding (Nifas) ceases, and the woman is certain that it won`t reoccur, then she becomes ritually pure and so she is free to make Ghusl (purificatory bath), pray, and fast. If the bleeding reoccurs before fifteen days from its cessation, and before the end of (60) days after delivery, then the ruling on postpartum bleeding is effective, and her fasting and prayer are null and void, thus she must make up the fasting that she missed and not the prayer during those particular days.
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.
Is it permissible for a wife to boycott (not to attend to his different needs) her husband?
It isn`t permissible for the woman to boycott her husband unless he is the reason behind that, and it is recommended that both spouses seek the advice of righteous people to make reconciliation.
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.