What is the ruling on someone who doesn`t perform prayer?
All perfect praise be to Allah,The Lord of The Worlds Not performing prayer is a major sin, and one who doesn`t pray out of laziness is considered an oft-sinner ;whereas, the one who denies that it is mandatory is considered a disbeliever. And Allah Knows Best.
Is a woman`s prayer considered invalid if non-Mahrams (marriageable men) saw her offering it?
A woman`s prayer isn`t invalidated if non-Mahrams saw her offering it, but she had better pray in isolation.
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.
What is the ruling on the ablution of one who cuts his nails, and is it permissible to cut them before the ritual bath for major impurity (janabah)?
Cutting nails does not invalidate ablution, and it is permissible to cut them before the ritual bath for major impurity. And Allah the Almighty knows best.