What is required of one who doubts the number of rakʿāt during prayer?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a person doubts the number of rakʿāt he has prayed, he should build upon the lesser number, as that is what he is certain of. He should then perform the prostration of forgetfulness (sujūd al-sahw) before the final salām at the end of the prayer. ʿAṭāʾ ibn Yasār narrated that the Messenger of Allah ﷺ said: "When any one of you is in doubt during his prayer and does not know whether he has prayed three rakʿāt or four, let him pray one more rakʿah and then perform two prostrations while seated before the salām. If the rakʿah he prayed was a fifth, these two prostrations will make it even; and if it was the fourth, then the two prostrations serve as a humiliation for the devil." (Reported by Abū Dāwūd.)
It is stated in al-Muqaddimah al-Ḥaḍramiyyah — one of the foundational texts of the Shāfiʿī school: "If one doubts whether he has prayed three rakʿāt or four, he is obliged to build upon the lesser number."
However, if such doubt recurs repeatedly and reaches the level of obsessive whispering (waswasah), he should not build upon the lesser number in that case — rather, he should build upon the greater number. And Allah the Almighty knows best.
Which hour coincides with the last third of the night?
This hour could be figured out by calculating the number of night hours which start at sunset, and end at dawn break, then the total is divided on three to get the result.
I read the Qudsī ḥadīth: "Whoever breaks his wuḍūʾ and does not perform ablution has shown me harshness; whoever performs ablution and does not pray has shown me harshness; whoever prays and does not supplicate to Me has shown me harshness; and whoever supplicates to Me and I do not answer him, then I have been harsh to him, and I am not a harsh Lord." What is the authenticity of this ḥadīth?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
This ḥadīth was mentioned by al-Ṣaghānī (may Allah have mercy on him) in al-Mawḍūʿāt (p. 43), where he said: “Among them is their saying: ‘Whoever breaks his wuḍūʾ and does not perform ablution has shown me harshness; whoever performs ablution and does not pray has shown me harshness; (whoever prays and does not supplicate to Me has shown me harshness); and whoever supplicates to Me and I do not answer him, then I have been harsh to him, and I am not a harsh Lord.’”
Al-ʿAjlūnī (may Allah have mercy on him) cited what al-Ṣaghānī said in Kashf al-Khafāʾ (Vol.2/p.264). And Allah Almighty knows best.
Is it permissible for one who sacrifices on behalf of another, with the latter's permission, to eat from the sacrifice?
It is permissible for someone who sacrificed on behalf of another with their permission to eat from it with their permission, and they stand in their place (act as their representative) in distributing it.
It is stated in Nihayat al-Muhtaj ila Sharh al-Minhaj (Vol.8/P.141): "And he—meaning the one sacrificing on his own behalf, provided he has not apostatized—has the right to eat from a voluntary sacrifice and his sacrificial gift; rather, it is recommended. As for an obligatory sacrifice, it is forbidden for him to eat from it, whether it was designated as such initially or as a liability in his dhimmah. And excluded by what has preceded is if he sacrifices on behalf of another, or if he apostatized, then it is not permissible for him to eat from it, just as it is absolutely impermissible to feed a disbeliever from it."(The text I found indicates the impermissibility of eating) ???
And it is stated in Hashiyat al-Jamal ‘ala Sharh al-Manhaj (Vol.5/P.262): "If a person offers a sacrifice on behalf of a living person with their permission, does he act as their representative in distributing it—on the grounds that permission to sacrifice is permission to distribute it—or does it depend on their explicit permission? This requires consideration, but the first view is not far-fetched." And Allah the Almighty knows best.