Hadithcore
Musnad Ahmad 3813
graded· very weak

It was narrated from Ibn Mas'ood (رضي الله عنه) that

The Messenger of Allah (ﷺ) used to fast when he was travelling (sometimes) and he would not fast (sometimes), and he would pray two rak'ahs only, i.e. he did not add to them - i.e., the obligatory prayers.

References1 variant
Arabic/English book
Book 26, Hadith 3813
Related hadiths2
Compare isnād across 2 related chains →