I said to 'Umar bin al Khattab ؓ , ʿAnd when you (Muslims) travel in the land, there is no sin on you if you shorten AsSalah (the prayer) if you fear that the disbelievers may put you in trial (attack you)ʿ (al Nisa' 4:101]. But now the people are safe. He said: I wondered the same thing as you are wondering, and I asked the Messenger of Allah ﷺ about that. He said: “It is a charity that Allah has bestowed upon you, so accept His charity.ʿ (Using translation from Aḥmad 174)
أَنْ تَقْصُرُوا} [النساء 101] مِنَ الصَّلَاةِ إِنْ خِفْتُمْ وَقَدْ أَمِنَ النَّاسُ فَقَالَ عُمَرُ عَجِبْتُ مِمَّا عَجِبْتَ مِنْهُ فَسَأَلْتُ رَسُولَ اللهِ ﷺ عَنْ ذَلِكَ فَقَالَ «صَدَقَةٌ تَصَدَّقَ اللهُ بِهَا عَلَيْكُمْ فَاقْبَلُوا صَدَقَتَهُ»