Mishkat al-Masabih 1335
وَعَن يعلى بن أُميَّة قَالَ: قلت لعمر بن الْخطاب: إِنَّمَا قَالَ اللَّهُ تَعَالَى (أَنْ تَقْصُرُوا مِنَ الصَّلَاةِ إِنْ خِفْتُمْ أَنْ يَفْتِنَكُمُ الَّذِينَ كَفَرُوا) فَقَدْ أَمِنَ النَّاسُ. قَالَ عُمَرُ: عَجِبْتُ مِمَّا عَجِبْتَ مِنْهُ فَسَأَلْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ. فَقَالَ: «صَدَقَةٌ تَصَدَّقَ اللَّهُ بِهَا عَلَيْكُمْ فَاقْبَلُوا صدقته» رَوَاهُ مُسلم
From Yaʿla ibn Umayyah, who said: I said to ʿUmar ibn al-Khattab: "Allah the Exalted only said: 'that you shorten the prayer if you fear that those who disbelieve may harm you', and the people are now safe." ʿUmar said: "I wondered at what you wonder at, so I asked the Messenger of Allah ﷺ, and he said: 'It is a charity that Allah has given to you, so accept His charity.'" Reported by Muslim.