(who had piles) I asked Allah's Messenger (ﷺ) about the praying of a man while sitting. He…

Sahih al-Bukhari Book 18 Hadith 35

Sahih al-Bukhari #1115

Shortening the Prayers (At-Taqseer) 18:35

Narrated `Imran bin Husain:

(who had piles) I asked Allah's Messenger (ﷺ) about the praying of a man while sitting. He said, "If he prays while standing it is better and he who prays while sitting gets half the reward of that who prays standing; and whoever prays while Lying gets half the reward of that who prays while sitting."

Chapter: To offer Salat (prayers) while sitting

Grade: Sahih