Al-A'raf 7:145
وَكَتَبْنَا لَهُۥ فِى ٱلْأَلْوَاحِ مِن كُلِّ شَىْءٍ مَّوْعِظَةً وَتَفْصِيلًا لِّكُلِّ شَىْءٍ فَخُذْهَا بِقُوَّةٍ وَأْمُرْ قَوْمَكَ يَأْخُذُوا۟ بِأَحْسَنِهَا ۚ سَأُو۟رِيكُمْ دَارَ ٱلْفَـٰسِقِينَ
Wakatabna lahu fee al-alwahimin kulli shay-in mawAAithatan watafseelanlikulli shay-in fakhuthha biquwwatin wa/mur qawmakaya/khuthoo bi-ahsaniha saoreekum daraalfasiqeen
And We wrote for him on the tablets [something] of all things - instruction and explanation for all things, [saying], "Take them with determination and order your people to take the best of it. I will show you the home of the defiantly disobedient."
We wrote for him on the Tablets advice of every kind, and explanations of all (needful) things. “So hold it firm, and ask your people to hold on to the best things in it. I shall show you the house of the sinners.