Only those who hear will respond. But the dead - Allah will resurrect them; then to Him they will be returned.
The Saheeh International Quran Translation
إِنَّمَا يَسْتَجِيبُ ٱلَّذِينَ يَسْمَعُونَ وَٱلْمَوْتَىٰ يَبْعَثُهُمُ ٱللَّهُ ثُمَّ إِلَيْهِ يُرْجَعُونَOnly those who hear will respond. But the dead - Allah will resurrect them; then to Him they will be returned.