The Ornaments of Gold - 43:38
"When he finally comes to Us, he says: "If only there had been between me and you a distance as far as the distance between two eastern countries, what an evil companion you have been!"
To whom the devils become friends:
The Ornaments of Gold/43:36
And whoever disregards the message of the Most Merciful, We will cause a devil to take hold of him and he will be his companion.
The Ornaments of Gold/43:37
Indeed they lead them astray. Yet they think that they are on the right path.
Mary/19:83
Do you not see that We send the devils upon the disbelievers? They keep provoking them.
Explained in Detail/41:25
We appointed for them companions who made their past and their future look good to them, and that which was true for the people of the jinn and mankind who had passed away before them became true for them. They were losers.
The Heights/7:27
O sons of Adam, let not Satan mislead you as he misled your parents from Paradise by stripping off their clothes to show them their bodies. He and his tribe see you from where you do not see them. We have made the devils the friends of those who do not believe.