Elijah Muhammed was the head of the Nation of Islam at that time. Not underling Malcolm X.
But Malcolm was assigned to be Ali’s teacher and cult minder. He spent a lot of time with Ali and the champ listened to every word