بسم الله الرحمن الرحيم
الجواب حامداومصليا
If such people had any contacts with Ahl Haq (people of truth) or had doubts in their belief and didn't make any contemplation to search for the truth, such people will be accountable. On the contrary, if they had no experiences of such then there's difference opinion amongst scholars regarding this, whether they are accountable or not. Imam Ghazali is of the opinion they are not accountable.
( وقال صاحب (نظم الفرائد
ذهب جمهور مشائخ الحنفية الي أنه تعالي لولم يبعث الناس رسولا لوجب عليهم بعقولهم معرفة وجوده تعالي ووحدته واتصافه بما يليق به...
(نظم الفرئد. ص.35)
فقد قسم الامام الغزالي الناس في شأن محمد صلي الله عليه وسلم ثلاثة أقسام الأول من لم يعلم بها بالمرة قال وهؤلاء ناجون.....الخ
(الموسوعة الفقهية الكويتية, 2/329)
(امدادالفتاوي جديد, ج.11ص.604)
Please view this:
askimam.org/public/question_detail/16803
And Allah knows best
12 ٍRamadhan 1441/ 05 May 2020