Sure Al-A'raaf

7:142

۞ وَوَٰعَدْنَا مُوسَىٰ ثَلَٰثِينَ لَيْلَةًۭ وَأَتْمَمْنَٰهَا بِعَشْرٍۢ فَتَمَّ مِيقَٰتُ رَبِّهِۦٓ أَرْبَعِينَ لَيْلَةًۭ ۚ وَقَالَ مُوسَىٰ لِأَخِيهِ هَٰرُونَ ٱخْلُفْنِى فِى قَوْمِى وَأَصْلِحْ وَلَا تَتَّبِعْ سَبِيلَ ٱلْمُفْسِدِينَ

Und Wir gaben Musa eine Verabredung auf dreißig Nächte und machten sie mit (weiteren) zehn voll. So vervollständigte sich die festgesetzte Zahl seines Herrn auf vierzig Nächte. Und Musa sagte zu seinem Bruder Harun: "Nimm meine Stelle bei meinem Volk ein, sorge für Ordnung und folge nicht dem Weg der Unheilstifter!"

Tafsir 7:142

And Allah appointed for Moses a place of meeting of thirty nights in order to speak with him, and then He perfected it by adding ten more, so that there were forty nights all together. Moses told his brother Aaron, when he was leaving for this retreat alone with His Lord: 'O Aaron, take my place as leader among my people, and do what is right, governing them wisely and treating them kindly, and not following the path of those who cause corruption, nor committing disobedience, nor helping the wrongdoers.'