“Once Shaitan approached Prophet Musa a.s and said to Him: You’re the prophet of *Allah* while i am one of his sinning and disobedient creation.
It’s my desire that i repent before Him so request Him to accept my repentance.!
Prophet Musa a.s agreed and prayed for him.
Whereupon Allah said: O Musa!! i shall accept your intercession for him.
Tell him to prostrate Prophet Adams’s grave.! In order that I accept his repentance.
Prophet Musa a.s gone met Shaitan and said: prostrate upon Prophet Adams’s grave ahall cause your repentance to be accepted.
Hearing this, Shaitan said: i did not prostrate before Adam when he was alive so how i can prostrate upon his grave now that he is dead.?
I shall never do such a thing!!
Then continuing he said: O MUSA! Since you interceded for me before Allah you have obliged me. I shall advise you to be wary of me in three places in order that you do not face damnation and ruin.
First*1: During anger for in that state my soul is in your heart and my eyes into yours.
Second*2: During battle for in that state i cause soldiers to bring the wives in children, and relatives to mind in order that turn back from the battle and flee away.
Third*3: Never sit with a non-Meharum Woman in one place far i shall whisper temptation into both of you.
Reference: shanidaniha e Tareekh page 258,