Mishkat al-Masabih 1068
وَعَنِ ابْنِ عَبَّاسٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم: «من سمع الْمُنَادِي فَلَمْ يَمْنَعْهُ مِنِ اتِّبَاعِهِ عُذْرٌ» قَالُوا وَمَا الْعُذْرُ؟ قَالَ: «خَوْفٌ أَوْ مَرَضٌ لَمْ تُقْبَلْ مِنْهُ الصَّلَاةُ الَّتِي صَلَّى» . رَوَاهُ أَبُو دَاوُدَ وَالدَّارَقُطْنِيّ
From Ibn ʿAbbas, who said: The Messenger of Allah ﷺ said: "Whoever hears the caller and no excuse prevents him from following it" — they said: "And what is the excuse?" He said: "Fear or illness" — "the prayer he prayed will not be accepted from him." Reported by Abu Dawud and ad-Daraqutni.