(Ambiya') 21 : 28
يَعْلَمُ مَا بَيْنَ أَيْدِيهِمْ وَمَا خَلْفَهُمْ وَلَا يَشْفَعُونَ إِلَّا لِمَنِ ارْتَضَىٰ وَهُمْ مِنْ خَشْيَتِهِ مُشْفِقُونَ
He Knows what is before them and what will be after them, and they will not intercede except for one whom He is satisfied with, and they are apprehensive from fear of Him.
See explanation 19: 64; 17: 56-57 and 20: 109-110.