Abu Saeed Khudri reported,

The Messenger of Allah ﷺ said, "The children of Adam are created in various categories. Among them is one who is born a believer, lives as a believer, and dies a believer. Among them is one who is born a disbeliever, lives as a disbeliever, and dies a disbeliever. Among them is one who is born a believer, lives as a believer, and dies a disbeliever. And among them is one who is born a disbeliever, lives as a disbeliever, and dies a believer."

Azami 1051

Sahih

عن أبي سعيد، قال

قال رسول الله ﷺ: إن بني آدم خلقوا على طبقات شتى: فمنهم من يولد مؤمنا، ويحيا مؤمنا، ويموت مؤمنا، ومنهم من يولد كافرا، ويحيا كافرا، ويموت كافرا. ومنهم من يولد مؤمنا، ويحيى مؤمنا، ويموت كافرا. ومنهم من يولد كافرا، ويحيا كافرا، ويموت مؤمنا.

الأعظمي 1051صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Belief in the divine decree and predestination
Section
Mankind was created in various classes
Numbering
Jami al-Kamil 1051 (2nd edition)
Azami 1051