Sunan Ibn Majah, Book 4, Hadith 59 (Ibn Majah 793)

It was narrated from Ibn 'Abbas that:

The Prophet said: "Whoever hears the call and does not come, his prayer is not valid, except for those who have an excuse."