Hadith 2361

Abu Dharr reported God’s messenger as saying, “God most high forgives His servant as long as the veil has not fallen.” He was asked what the veil meant and replied, “That a soul should die while associating partners with God.” Ahmad transmitted the three traditions and Baihaqi transmitted the last in Kitab al-ba'th wan-nushur.

وَعَنْ أَبِي ذَرٍّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِنَّ اللَّهَ تَعَالَى لَيَغْفِرُ لِعَبْدِهِ مَا لَمْ يَقَعِ الْحِجَابُ» . قَالُوا: يَا رَسُولَ اللَّهِ وَمَا الْحِجَابُ؟ قَالَ: «أَنْ تَمُوتَ النَّفْسُ وَهِيَ مُشْرِكَةٌ» رَوَى الْأَحَادِيثَ الثَّلَاثَةَ أَحْمَدُ وَرَوَى الْبَيْهَقِيُّ الْأَخِيرَ فِي كِتَابِ الْبَعْثُ والنشور

Reference: 5623610
In-book reference: Book 9, Hadith 2361