The Prophet ﷺ said, "None will enter Paradise but will be shown the place he would have occupied in the (Hell) Fire if he had rejected faith, so that he may be more thankful; and none will enter the (Hell) Fire but will be shown the place he would have occupied in Paradise if he had faith, so that may be a cause of sorrow for him." (Using translation from Bukhārī 6569)
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ لَا يَدْخُلُ أَحَدٌ النَّارَ إِلَّا أُرِيَ مَقْعَدَهُ مِنَ الْجَنَّةِ لَوْ أَحْسَنَ لِيَكُونَ عَلَيْهِ حَسْرَةً وَلَا يَدْخُلُ الْجَنَّةَ أَحَدٌ إِلَّا أُرِيَ مَقْعَدَهُ مِنَ النَّارِ لَوْ أَسَاءَ لِيَزْدَادَ شُكْرًا