This is a story that has been told in several different versions. Here is my first pass at Attar’s take on it in Elahi Nameh. Izrail is the name of the Angel of Death:
I’ve heard that one day Izrail,
consumer of souls, entered the hall
where Solomon reigned. Seated there
was a young man. God’s soul collector
glanced quickly at the young man’s face,
turned around and left the palace.
Terrified, the young man ran
to Solomon for help. “You can,
I know, command the clouds. Choose one
to carry me away from here.
Death has sickened me with fear.”
Solomon did as the man asked.
A cloud carried him from Fars
to India. Three days passed
before Izrail came again.
“Swordless shedder of blood,” Solomon
addressed him, “why such a keen glance
when you saw that young man?” “I’d planned,”
the angel answered, “at God’s command,
to seize his soul in India
three days from when you saw me last;
but when I saw him in this room,
I did not understand how three days’ time
would be enough for him to get there.
When the cloud bore him off, I followed,
and took his soul to meet with God.”