“When we caused a group of jinn to come past by you, and they started listening to the Quran... When they were in your presence, they said [to one another], "listen quietly"... Then when it was over, they returned to their fellow jinn as Warners.”
This ayah (part of Q46:29-32) is the Qur'an's own account of this event -- the jinn who passed by, listened to the Prophet's ﷺ recitation at Nakhla, and returned to warn their people.