(6) باب الْجَمْعِ بَيْنَ الصَّلاَتَيْنِ فِي الْحَضَرِ
Ibn 'Abbas reported that the Messenger of Allah (ﷺ) combined the noon prayer with the afternoon prayer and the sunset prayer with the 'Isha' prayer in Medina without being in a state of danger or rainfall. And in the hadith transmitted by Waki' (the words are):
" I said to Ibn 'Abbas: What prompted him to do that? He said: So that his (Prophet's) Ummah should not be put to (unnecessary) hardship." And in the hadith transmitted by Mu'awiya (the words are):" It was said to Ibn 'Abbas: What did he intend thereby? He said he wanted that his Ummah should not be put to unnecessary hardship."
Reference: Sahih Muslim 705 d
In-book reference: Book 6, Hadith 64
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1520