Does post-natal bleeding (Nifas) stop before forty days after childbirth?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Yes, post-natal bleeding (Nifas) can cease before the completion of forty days. If the bleeding stops completely and its return is not expected, the woman has attained ritual purity (Taharah), even if forty days have not yet passed. And Allah the Exalted knows best.
What type of illness that permits breaking the fast in Ramadan?
It is an illness that, if one fasts, there is a fear it may lead to their death or cause unbearable hardship.
Is it permissible for a woman who has become pure before the end of forty days of confinement to perform different acts of worship? and is it lawful for her husband to have sex with her?
Once postpartum bleeding ceases and she is certain that it won`t happen again, she becomes pure, and so she should perform Ghusl (ritual bath), pray, and fast. She can also have sex with her husband even before the end of (40) days because the minimum of postpartum bleeding is a moment, and the maximum is (60) days. However, the postpartum bleeding for the majority of women is (40) days, but this does not apply to rest of them.
Does buying meat equivalent to the weight of a slaughtered animal and distributing it avail for an udhiyah?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
That does not avail for the sacrifice (uḍḥiyyah), because the sacrifice necessarily requires slaughtering an animal from the category of anʿām (camels, cattle, and sheep/goats) within a specified time.
Rather, that is considered a form of charity (ṣadaqah) for which one is rewarded, but not an udhiyah. And Allah Almighty knows best.