Can I start fasting based on the moon sighting of another country?
You must follow the moon sighting of the country you are in.
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.
I broke my oath and am now obligated to pay the expiation for a broken oath (kaffārat al-yamīn). Would it be valid to fulfill this by inviting the poor and needy to a meal for them to eat from?
Praise be to Allah, and peace and blessings upon our master, the Messenger of Allah.
The expiation for a broken oath (kaffārat al-yamīn) is given to the poor (fuqarā') and needy (masākīn), and it must be given in the form of ownership (tamlīk) transferred to them of the required amount — namely, one mudd of the staple food of the locality, or its equivalent monetary value. It isn`t valid to invite the poor or needy to a meal prepared for them to eat from, as this does not constitute "ownership" (tamlīk) but merely "permission to partake" (ibāḥah).
Imam al-Shirbīnī (may Allah have mercy on him) said: "What is intended is that ownership be transferred to them; therefore, providing them with lunch or dinner [as a meal to eat from] isn`t valid." [Summarized from Mughnī al-Muhtāj,Vol. 5/P.50]. And Allah the Almighty knows best.
What is the ruling on one who performs ablution or the ritual bath while having nail polish?
Nail polish must be removed before ablution or ritual bath so that water reaches what is beneath it, because it is a barrier that prevents water from reaching that area. This is based on the hadith narrated by Ali (may Allah be pleased with him) from the Prophet (peace be upon him): "Whoever leaves a hair's breadth of his body unwashed from major impurity, such and such will be done to him in the Fire." (Reported by al-Bukhari). And Allah the Almighty knows best.