Reference: Akhbaar al-Athkiyaa – Ibn al-Jowzee, p44
And from that which has been transmitted from ‘Eesaa (‘alayhis-salaam) is that Iblees came to him and said to him:
Do you not believe that nothing will afflict you except what Allaah has written for you?
Yes [I do].
[So Iblees] said:
Then throw yourself off this mountain, for indeed if safety was prescribed for you, then you will be safe.
So he (‘Eesaa) said to him:
O cursed one! It is for Allaah (’Azza wa Jall) to test his worshipers, and not for his worshipers to test their Lord (’Azza wa Jall).