Establishing the Prayer and the Sunnah Regarding Them 5:1128
It wasnarrated that Ibn ‘Abbas said:
“The Messenger of Allah (ﷺ)stayed for nineteen days in which he shortened his prayer to twoRak’ah. So, whenever we stayed for nineteen days we would shortenourprayer to two Rak’ah, but if we stayed more than that we wouldprayfour Rak’ah.”