Quran 28:8 — History (Al-Qasas)
Pharaoh's family picked him up, only to have him lead the opposition and to be a source of grief for them. That is because Pharaoh, Hamaan, and their troops were transgressors.
[28:7] We inspired Moses' mother: "Nurse him, and when you fear for his life, throw him into the river without fear or grief. We will return him to you, and will make him one of the messengers."
[28:9] Pharaoh's wife said, "This can be a joyous find for me and you. Do not kill him, for he may be of some benefit for us, or we may adopt him to be our son." They had no idea.