Surah Ghafir 40:8
رَبَّنَا وَأَدْخِلْهُمْ جَنَّـٰتِ عَدْنٍ ٱلَّتِى وَعَدتَّهُمْ وَمَن صَلَحَ مِنْ ءَابَآئِهِمْ وَأَزْوَٰجِهِمْ وَذُرِّيَّـٰتِهِمْ ۚ إِنَّكَ أَنتَ ٱلْعَزِيزُ ٱلْحَكِيمُ
Our Lord, and admit them to gardens of perpetual residence which You have promised them and whoever was righteous among their forefathers, their spouses and their offspring. Indeed, it is You who is the Exalted in Might, the Wise.
Translation: Saheeh International
Tafsir
Our Lord and admit them into the Gardens of Eden as a place of residence for them that which You have promised them along with whoever were righteous wa-man salaha is a supplement either to the pronominal third person plural suffix hum ‘them’ in wa-adkhilhum ‘and admit them’ or in wa‘adttahum ‘You have promised them’ …
Excerpt from Tafsir al-Jalalayn, commentary on 40:8, via Quran.com. The reader has the full commentary and 9 more tafsirs.