(17) باب صَلاَةِ الْقَاعِدِ
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."
Reference: Sahih al-Bukhari 1115
In-book reference: Book 18, Hadith 35
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 20, Hadith 216
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.