Sahih Muslim 2662 b
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
أَوَلاَ تَدْرِينَ أَنَّ اللَّهَ خَلَقَ الْجَنَّةَ وَخَلَقَ النَّارَ فَخَلَقَ لِهَذِهِ أَهْلاً وَلِهَذِهِ أَهْلاً "
A'isha, the mother of the believers, reported that a child died and I said:
There is happiness for this child who is a bird from amongst the birds of Paradise. Thereupon Allah's Messenger (ﷺ) said: Don't you know that Allah created the Paradise and He created the Hell and He created the dwellers for this (Paradise) and the denizens for this (Hell)?
Full reference and source
Sahih Muslim 2662 b In-book : Book 46, Hadith 46 USC-MSA web (English) : Book 33, Hadith 6435 (deprecated)
View source on Sunnah.com (opens in a new tab)