From Sahih Bukhari (Hadith 1371):
Narrated `Aisha:The Prophet (ﷺ) said, "They now realize that what I used to tell them was the truth. "And Allah said, 'Verily! You cannot make the dead to hear (i.e. benefit them, and similarly the disbelievers) nor can you make the deaf hear
Reference: Bukhari 1371