Does passing wind from the anus affect ritual purity?
Ablution is nullified by the passing of wind from the anus, but washing the anus is not required as wind leaves no impurity.
Is it permissible to offer mandatory prayer while sitting?
All perfect praise be to Allah, The Lord of The Worlds, and may His Peace and Blessings be upon our Prophet Muhammad and upon all of his family and companions. Standing up is a pillar in the mandatory prayer and the prayer is not valid without it unless one cannot do it. As for Nafila (supererogatory prayer), one can perform it in the state of sitting even if he/she can stand, but his/her reward is half the reward of the person who prays while standing if he/sh has no legal excuse for such an act. And Allah Knows Best.
After a month and a half from the end of postpartum bleeding, my wife occasionally finds a small amount of blood, and she is breastfeeding. What is this blood, and should she fast and pray when she experiences it?
This is postpartum bleeding, so she should not fast or pray until she sees the signs of purity, unless it exceeds sixty days, as the maximum duration for postpartum bleeding is sixty days, and the majority of women experience forty days. If it exceeds sixty days, it is considered irregular bleeding (Istihada). It would be advisable to consult a doctor after the sixty days. And Allah Knows Best.
I made a vow "If the Israeli troops retreated out of Gaza strip I will buy a cake from a certain bakery" and it happened. Am I obliged to buy from the same bakery?
You are obliged to buy from the same bakery. And Allah Knows Best.