Surah At-Takwir

81:7

وَإِذَا ٱلنُّفُوسُ زُوِّجَتْ

And when the souls are paired

Tafsir 81:7

When souls are joined with their likeness. A sinner will be joined with a sinner and a pious person will be joined with a pious person.