عَنِ الضَّحَّاكِ بْنِ مُزَاحِمٍ عَنِ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُ قَالَ: صَلَّى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ حِينَ سَافَرَ رَكْعَتَيْنِ رَكْعَتَيْنِ وَحِينَ قَامَ أَرْبَعًا، قَالَ: وَقَالَ ابْنُ عَبَّاسٍ: فَمَنْ صَلَّى فِي السَّفَرِ أَرْبَعًا كَمَنْ صَلَّى فِي الْحَضَرِ رَكْعَتَيْنِ، قَالَ: وَقَالَ ابْنُ عَبَّاسٍ: لَمْ تُقْصَرِ الصَّلَاةُ إِلَّا مَرَّةً حَيْثُ صَلَّى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ رَكْعَتَيْنِ وَصَلَّى النَّاسُ رَكْعَةً رَكْعَةً
Sayyiduna Abdullah bin Abbas (may Allah be pleased with him) says: When the Messenger of Allah (peace and blessings be upon him) was on a journey, he would perform two rak‘ahs of prayer, and when he was residing, he would perform four rak‘ahs. Sayyiduna Abdullah bin Abbas (may Allah be pleased with him) said: Whoever performs four rak‘ahs during travel is like the one who performs two rak‘ahs during residence. Sayyiduna Abdullah (may Allah be pleased with him) further said: Only once was the prayer shortened to (one rak‘ah), (and that was in such a way that) the Messenger of Allah (peace and blessings be upon him) performed two rak‘ahs and the people performed one rak‘ah each.