Sahih Bukhari · Hadith 1080
Shortening the Prayers (At-Taqseer) - كتاب التقصير
حدثنا موسى بن إسماعيل، قال حدثنا أبو عوانة، عن عاصم، وحصين، عن عكرمة، عن ابن عباس رضى الله عنهما قال أقام النبي صلى الله عليه وسلم تسعة عشر يقصر، فنحن إذا سافرنا تسعة عشر قصرنا، وإن زدنا أتممنا.
Narrated Ibn `Abbas: The Prophet once stayed for nineteen days and prayed shortened prayers. So when we travel led (and stayed) for nineteen days, we used to shorten the prayer but if we traveled (and stayed) for a longer period we used to offer the full prayer.
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).