The Prophet (ﷺ) used to stand (in the prayer) or pray till both his feet or legs swelled…

Sahih al-Bukhari Book 19 Hadith 10

Sahih al-Bukhari #1130

Prayer at Night (Tahajjud) 19:10

Narrated Al-Mughira:

The Prophet (ﷺ) used to stand (in the prayer) or pray till both his feet or legs swelled. He was asked why (he offered such an unbearable prayer) and he said, "should I not be a thankful slave."

Chapter: Standing of the Prophet (pbuh) at night

Grade: Sahih