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.
How should I deal with the whispers of the devil with regard to ablution and purity?
Whispers in ablution are from the devil, and so you should take refuge in Allah from the devil`s evil suggestions that aim to distort the religion. Thus, once an organ is completely pure, don`t question its purity since having whispers doesn`t mean that the purity is invalid as it has already been established.
Is it permissible to offer prayer at home, or should it be offered in the mosque?
All perfect praise be to Allah, The Lord of The Worlds. It isn`t preferable for the man to pray at home as praying in the mosque is twenty seven times more rewarding. Therefore, this should motivate him to offer prayers in the mosque. And Allah Knows Best.
What is the Sharia basis of the Udhiyah?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
The Sharia basis of the Udhiyah (sacrificial offering) is firmly established through the Quran, the Sunnah, and the Consensus (Ijma') of the Muslims:
1. Evidence from the Holy Quran
Allah the Exalted says {what means}: "And the camels and cattle We have appointed for you as among the symbols of Allah; for you therein is good." [Al-Hajj/36]. He also says {what means}: "So pray to your Lord and sacrifice [to Him alone]" [Al-Kawthar/2]. According to the most well-known scholarly interpretations of this verse, "prayer" refers to the Eid prayer, and "sacrifice" refers to the slaughtering of the Udhiyah.
2. Evidence from the Sunnah
Al-Bara' bin 'Azib (may Allah be pleased with him) narrated that the Prophet ﷺ said: "The first thing we start with on this day of ours is to pray, then we return and sacrifice. Whoever does that has followed our Sunnah, and whoever slaughters before [the prayer], it is merely meat he has provided for his family; it is not part of the ritual sacrifice in any way" [Reported by Bukhari & Muslim].
Anas (may Allah be pleased with him) narrated: "The Prophet ﷺ sacrificed two white rams with horns. He slaughtered them with his own hand, mentioned the name of Allah (Tasmiyah), and said the Takbir" [Reported by Bukhari & Muslim].
3. Evidence from Scholarly Consensus (Ijma')
The Muslims have reached a unanimous consensus on the Sharia basis of the Udhiyah, and no one among the scholars has disagreed with this. [Al-Sherbini, Mughni al-Muhtaj, Vol.6/P.122].And Allah the Exalted knows best.