@Dwit the story I was looking for :
Azrail, who was in disguise, visited Sulayman, may Allaah exalt his mention, and very carefully looked at a man who was there. The man noticed it. When Azrail left, the man asked Sulayman who he was. When he found out that he was Azrail, he said, "He looked at me as if he was going to take my soul. I am scared." Sulayman asked him, "What do you want me to do?" The man said, "Send me to the other side of India with the wind. Sulayman did what the man asked. When Sulayman met Azrail again, he asked Azrail why he had looked at that man like that. Azrail said, "I was ordered to take the soul of that man in the east of India soon. I was surprised to see him here. That is why I looked at him like that." Thus, what Allaah had predestined took place. The man wanted to escape death but ran towards it.[61 Ihya, IV, 837]