Abu Saeed Khudri reported,

The Messenger of Allah ﷺ said, "The believers will be saved from the Fire and then detained on a bridge between Paradise and the Fire, where retribution will be exacted among them for wrongs they committed against one another in the world. Once they have been refined and purified, they will be permitted to enter Paradise. By the One in whose hand Muhammad's soul rests, each of them will know the way to his dwelling in Paradise better than he knew the way to his dwelling in the world."

Bukhari 6535

Sahih

حدثني الصلت بن محمد حدثنا يزيد بن زريع {ونزعنا ما في صدورهم من غل} قال حدثنا سعيد عن قتادة عن أبي المتوكل الناجي أن

أبا سعيد الخدري رضي الله عنه قال

قال رسول الله ﷺ يخلص المؤمنون من النار فيحبسون على قنطرة بين الجنة والنار فيقص لبعضهم من بعض مظالم كانت بينهم في الدنيا حتى إذا هذبوا ونقوا أذن لهم في دخول الجنة فوالذي نفس محمد بيده لأحدهم أهدى بمنزله في الجنة منه بمنزله كان في الدنيا

البخاري 6535صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Softening of hearts
Chapter
Retribution on the Day of Resurrection
Numbering
Darussalam 6535
Bukhari 6535