Sahih al-Bukhari 1115
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنْ صَلَّى قَائِمًا فَهْوَ أَفْضَلُ، وَمَنْ صَلَّى قَاعِدًا فَلَهُ نِصْفُ أَجْرِ الْقَائِمِ، وَمَنْ صَلَّى نَائِمًا فَلَهُ نِصْفُ أَجْرِ الْقَاعِدِ "
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."
Full reference and source
Sahih al-Bukhari 1115 In-book : Book 18, Hadith 35 USC-MSA web (English) : Vol. 2, Book 20, Hadith 216 (deprecated)
View source on Sunnah.com (opens in a new tab)