Sure Al-Qasas

28:46

وَمَا كُنتَ بِجَانِبِ ٱلطُّورِ إِذْ نَادَيْنَا وَلَٰكِن رَّحْمَةًۭ مِّن رَّبِّكَ لِتُنذِرَ قَوْمًۭا مَّآ أَتَىٰهُم مِّن نَّذِيرٍۢ مِّن قَبْلِكَ لَعَلَّهُمْ يَتَذَكَّرُونَ

Und du warst nicht auf der Seite des Berges, als Wir zuriefen. Aber (die Offenbarung ist) als Barmherzigkeit von deinem Herrn (zu dir gekommen), damit du Leute warnst, zu denen noch kein Warner vor dir gekommen ist, auf daß sie be denken mögen.

Tafsir 28:46

Neither were you present at the side of mount Sinai when I called out to Moses and revealed whatever I revealed to him, so that you could relate that to the people either. Rather, I sent you as a mercy from your Lord to the people and revealed that incident to you, so that you could warn a nation to whom no Messenger had come prior to yourself, perhaps they would take heed and believe in whatever was brought to them from Allah, may He be glorified.