Did Iblis come before Musa (peace be upon him)?
Answer:
Yes.
Al-Qurashi said, as mentioned in Talbis Iblis, that Musa (peace be upon him) was sitting once when Iblis suddenly appeared wearing a multicoloured coat. Then, when he came close to him, he took off the coat and put it down, and then came to Musa (peace be upon him). He asked: Who are you? He said: I am Iblis. Musa (peace be upon him) said: May Allah not keep you alive, what has brought you? He said: I have come to greet you with salaam, because of your station and rank with Allah. Musa (peace be upon him) said: What was that thing I saw on you? He said: With it I snatch away the hearts of the children of Adam. Then Musa (peace be upon him) said: What is the thing that, if a person commits it, you gain mastery over him? He said: When he brings pride into his heart, regards his deeds as many, and forgets his sins.
I warn you of three things:
➊ Never be alone with a woman who is not lawful for you, because when a man is alone with a woman who is not lawful for him, I leave my companions and become his companion until I cast him into temptation.
➋ Fulfil in every case a promise you have made to Allah, because when someone makes a covenant with Allah, I do not leave his company until I come between him and it.
➌ When you want to give charity, give it out in every case, because when a man pledges charity and does not carry it out, I leave my other friends and become his companion, until I come between the man and his giving out of the charity. Then he went back, saying: Alas for the three things he taught Musa (peace be upon him); Musa (peace be upon him) will now warn the children of Adam with them.