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.
When is Istikharah (guidance prayer) Du`a offered, before Tasleem (saying asalamu alikum warahmatu allah wa barakatuh to end the prayer), or after it?
It is offered after Tasleem.
What is the ruling on performing Tarawih in sets of four rak‘ahs with only one Tasleem?
It is not permissible to combine more than two rak‘ahs with a single Tasleem in Tarawih prayer. Whoever does so, their prayer is invalid. Shaykh al-Islam Imam Muhammad al-Ramli (may Allah have mercy on him) stated: "If a person prays four rak‘ahs of the Tarawih prayer with a single Tasleem, it is not valid if they did so intentionally and with knowledge [of the prohibition]. Otherwise, it becomes an 'absolute voluntary prayer' (nafl mutlaq); because it is contrary to what has been prescribed." [Nihayat al-Muhtaj, Vol.2/P.127].
What is the ruling on congratulating others on the arrival of Ramadan?
Congratulating others on the arrival of Ramadan is permissible.
If someone does it to express their love for worship and the blessings of Ramadan, and congratulates their fellow Muslim, they have done something good.
The Prophet ﷺ said: "Shall I not tell you something that, if you do it, you will love one another? Spread peace (Salam) among yourselves." [Narrated by Muslim]
Giving Salam is a prayer for peace and safety.