Which takes precedence: the 'aqīqah or the uḍḥiyyah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The 'aqīqah is an act of worship through which a servant draws closer to Allah the Almighty in gratitude for the blessing of a newborn child. It is a confirmed Sunnah for those who are financially capable, and Allah does not burden any soul beyond what it can bear.
However, the uḍḥiyyah takes precedence, as it is a confirmed Sunnah established from the Prophet ﷺ through stronger and more numerous narrations — indeed, the Ḥanafī scholars hold it to be obligatory. Furthermore, its time is narrow and limited, expiring with the passing of the days of Eid, whereas the 'aqīqah may be delayed until one becomes financially capable of performing it.
And Allah Almighty knows best.
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.
How is the niṣāb (minimum threshold) of gold calculated when one owns gold of multiple different karats?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Zakāh is obligatory on cash and on gold designated for saving or for trade, provided the total reaches the niṣāb (minimum threshold liable for Zakah), and a full ḥawl (lunar year) has elapsed over it. The niṣāb is (85) grams of 24-karat gold; for 21-karat gold, the niṣāb equals (97) grams; and for 18-karat gold, it equals (113) grams.
If one owns gold of multiple different karats, the person paying zakāh should calculate the monetary value of all the gold he owns, combining these values together to determine whether the total reaches the niṣāb. He then pays zakāh on this combined monetary value, once the total reaches the niṣāb. The relied-upon position is to calculate the zakāh based on the buying price [i.e., the price the gold merchant would pay the owner to purchase the gold from him] on the day the zakāh obligation is due. And Allah, the Exalted, knows best.
Does having a wet dream during the day in Ramadan break the fast?
Having a wet dream during the day in Ramadan does not invalidate the fast. However, one must perform ghusl (ritual purification) to ensure they do not miss their prayers.