What is incumbent upon the one offering the sacrifice if, after slaughtering the animal, they discover that one of its internal organs is damaged or diseased?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The presence of disease or defect in the internal organs of a sheep does not affect the validity of the sacrificial animal, unless the disease leads to the animal becoming emaciated and its meat becoming corrupted.
It is stated in al-Iqnā' (2/590) by Imam al-Shirbīnī: "The third disqualifying condition: an animal with a manifest illness — meaning one whose illness visibly results in emaciation and corruption of its meat. However, if the illness is minor and does not produce such effects, it doesn`t affect the validity of the sacrificed animal." And Allah Almighty knows best.
Should a prayer performer who forgets to offer the middle Tashahod (saying ash-hadu anala ilaha ila-alah) offer Sujood As-Sahw (prostration of forgetfulness)?
He/she should offer two prostrations of forgetfulness at the end of the prayer. And Allah Knows Best.
Does buying meat equivalent to the weight of a slaughtered animal and distributing it avail for an udhiyah?
Praise be to Allah, and prayers and peace be upon our Master the Messenger of Allah.
That does not avail for the sacrifice (uḍḥiyyah), because the sacrifice necessarily requires slaughtering an animal from the category of anʿām (camels, cattle, and sheep/goats) within a specified time.
Rather, that is considered a form of charity (ṣadaqah) for which one is rewarded. And Allah Almighty knows best.
Which is better in night prayer: long standing (Qiyam) or long prostration (Sujood)?
Long standing (Qiyam) is better in prayer. However, a Muslim should also observe tranquility and composure in their prayer.