Quran 21:28 — The Prophets (Al-Anbya')
يَعلَمُ ما بَينَ أَيديهِم وَما خَلفَهُم وَلا يَشفَعونَ إِلّا لِمَنِ ارتَضىٰ وَهُم مِن خَشيَتِهِ مُشفِقونَ
He knows their future and their past. They do not intercede, except for those already accepted by Him, and they are worried about their own necks.*
[21:27] They never speak on their own, and they strictly follow His commands.
[21:29] If any of them claims to be a god beside Him, we requite him with Hell; we thus requite the wicked.