Sunan Ibn Majah, Volume 2, Book 5, Hadith 1065 (DarusSalam) ⓘ
It was narrated that Ya’la bin Umayyah said: “I asked ‘Umar bin Khattab: ‘Allah says: “And when you travel in the land, there is no sin on you if you shorten the prayer if you fear that the disbelievers may put you in trial (attack you), verily, the disbelievers are ever to you open enemies,” [4:101] but now there is security and people are safe.’ He said: ‘I found it strange just as you do, so I asked the Messenger of Allah about that, and he said: “It is charity that Allah has bestowed upon you, so accept His charity.”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ إِدْرِيسَ، عَنِ ابْنِ جُرَيْجٍ، عَنِ ابْنِ أَبِي عَمَّارٍ، عَنْ عَبْدِ اللَّهِ بْنِ بَابَيْهِ، عَنْ يَعْلَى بْنِ أُمَيَّةَ، قَالَ سَأَلْتُ عُمَرَ بْنَ الْخَطَّابِ قُلْتُ لَيْسَ عَلَيْكُمْ جُنَاحٌ أَنْ تَقْصُرُوا مِنَ الصَّلاَةِ إِنْ خِفْتُمْ أَنْ يَفْتِنَكُمُ الَّذِينَ كَفَرُوا وَقَدْ أَمِنَ النَّاسُ فَقَالَ عَجِبْتُ مِمَّا عَجِبْتَ مِنْهُ فَسَأَلْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ عَنْ ذَلِكَ فَقَالَ " صَدَقَةٌ تَصَدَّقَ اللَّهُ بِهَا عَلَيْكُمْ فَاقْبَلُوا صَدَقَتَهُ " .
also referenced under: Hadith 1065 (Reference) & Book 5, Hadith 1118 (In-Book)