Surah Al-Ankabut (العنكبوت) · verse 3 (Meccan · Juz 20 · page 396)
وَلَقَدْ فَتَنَّا ٱلَّذِينَ مِن قَبْلِهِمْ فَلَيَعْلَمَنَّ ٱللَّهُ ٱلَّذِينَ صَدَقُوا۟ وَلَيَعْلَمَنَّ ٱلْكَٰذِبِينَ ﴿3﴾
التفسير الميسر
ولقد فتنَّا الذين من قبلهم من الأمم واختبرناهم، ممن أرسلنا إليهم رسلنا، فليعلمنَّ الله علمًا ظاهرًا للخلق صدق الصادقين في إيمانهم، وكذب الكاذبين؛ ليميز كلَّ فريق من الآخر
Sahih International
But We have certainly tried those before them, and Allah will surely make evident those who are truthful, and He will surely make evident the liars
Marmaduke Pickthall
Lo! We tested those who were before you. Thus Allah knoweth those who are sincere, and knoweth those who feign
Abdullah Yusuf Ali
We did test those before them, and Allah will certainly know those who are true from those who are false