Mishkat al-Masabih
Ibn'Abbas reported the Prophet (ﷺ) as saying, “If anyone hears the summons and does not respond to it, he is not credited with having prayed unless he has some excuse.” Daraqutni transmitted it.
وَعَنِ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنْ سَمِعَ النِّدَاءَ فَلَمْ يُجِبْهُ فَلَا صَلَاةَ لَهُ إِلَّا مِنْ عُذْرٍ» . رَوَاهُ الدَّارَقُطْنِيّ
Reference