9:84
وَلَا تُصَلِّ عَلٰٓى اَحَدٍ مِنْهُمْ مَاتَ اَبَدًا وَلَا تَقُمْ عَلٰى قَبْرِهٖؕ اِنَّهُمْ كَفَرُوا بِاللّٰهِ وَرَسُولِهٖ وَمَاتُوا وَهُمْ فَاسِقُونَ
Wala tusalli AAala ahadin minhum mata abadan wala taqum AAala qabrihi innahum kafaroo biAllahi warasoolihi wamatoo wahum fasiqoona
Translations
And do not pray [the funeral prayer, O Muhammad], over any of them who has died - ever - or stand at his grave. Indeed, they disbelieved in Allah and His Messenger and died while they were defiantly disobedient
Saheeh International
And never (O Muhammad) pray for one of them who dieth, nor stand by his grave. Lo! they disbelieved in Allah and His messenger, and they died while they were evil-doers
Marmaduke Pickthall