Hadithcore
Mishkat al-Masabih, 1077

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.

وَعَنِ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنْ سَمِعَ النِّدَاءَ فَلَمْ يُجِبْهُ فَلَا صَلَاةَ لَهُ إِلَّا مِنْ عُذْرٍ» . رَوَاهُ الدَّارَقُطْنِيّ

References1 variant
In-Book Reference
Book 4, Hadith 495