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.
Is bleeding that lasts for nine or ten days considered menstruation (Hayd)?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If the duration of the bleeding does not exceed fifteen days, then all of it is considered menstruation (Hayd), even if the regular cycle ('Adah) has changed. And Allah the Exalted knows best.
When does the time for Udhiyah begin?
Praise be to Allah, and peace and blessings be upon our master, the Messenger of Allah.
The time for Udhiyah (sacrificial offering) begins once the sun has risen on the day of Eid al-Adha—which is the tenth of Dhul-Hijjah—and a period of time has passed equivalent to two brief prayer units (Raka'at) and two brief sermons (Khutbah). It then continues until the sunset of the last of the days of Tashreeq, which are the eleventh, twelfth, and thirteenth of Dhul-Hijjah.
The Prophet (peace be upon him) said: "All the mountain passes of Mina are places of sacrifice, and in all the days of Tashreeq there is slaughtering." [Narrated by Al-Bayhaqi and Ibn Hibban].
The best time to slaughter is after finishing the Eid prayer, due to the saying of the Prophet (peace be upon him):
"Indeed, the first thing we begin with on this day of ours is to pray, then we return and slaughter. Whoever does that has attained our Sunnah, and whoever slaughters before [the prayer], it is only meat he has presented to his family; it is not part of the ritual sacrifice (Nusuk) in any way." [ٌReported by Bukhari & Muslim].
It is valid to sacrifice at any time, whether by night or by day; however, it is disliked (Makruh) at night. And Allah the Almighty knows best.
What is the ruling on doubting whether one or two prostrations were performed?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a worshiper is in doubt regarding the number of units (rak'ahs) or prostrations (sajdahs) performed, he must build upon the minimum (i.e., assume the lower number) and perform the prostration of forgetfulness (Sujud al-Sahw) before the Salam at the end of the prayer. This is based on the report from ‘Ata’ ibn Yasar that the Messenger of Allah ﷺ said: 'When anyone of you is in doubt about his Salat (prayer) and does not know how many he has prayed, three or four (Rak'at) he should cast aside his doubt and base his prayer on what he is sure of. Then, he should perform two prostrations before Taslim (salutation). If he has prayed five Rak'at, they will make his Salat (prayer) an even number for him and if he has prayed exactly four, they (i.e. two prostrations) will be humiliation for the devil..' (Narrated by Abu Dawud).
It is stated in Al-Muqaddimah al-Hadramiyyah: 'If one doubts [whether he performed] a bowing (ruku’), a prostration, or a rak'ah, he must perform it and prostrate [for forgetfulness], even if the doubt is removed before the Salam—unless the doubt is removed before he performs what would potentially be an addition. Thus, if he doubts whether he prayed three or four, he is obligated to build upon the minimum.' And Allah the Exalted knows best.