And the heart of Moses' mother became empty [of all else]. She was about to disclose [the matter concerning] him had We not bound fast her heart that she would be of the believers. Al-Qasas 28:10 ⧉
وَأَوْحَيْنَا إِلَىٰ أُمِّ مُوسَىٰAl-Qasas 28:7 ⧉ The word Wahy (inspiration) is used here in its literal meaning. It does not mean the Wahy that is peculiar to prophets. This point has already been explained under Surah Ta-Ha⧉.