Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:4:153

The People of the Scripture ask you to bring down to them a book from the heaven. But they had asked of Moses ˹even˺ greater than that and said, "Show us Allah outright," so the thunderbolt struck them for their wrongdoing. Then they took the calf ˹for worship˺ after clear evidences had come to them, and We pardoned that. And We gave Moses a clear authority.  

The People of the Scripture, the Jews, will ask of you, O Muhammad (s), to cause a Book to be revealed to them from the heaven, all at once, as was revealed to Moses, merely to harass ˹you˺. If you consider this shocking, then ˹know that˺, they, their forefathers, asked Moses for something greater than that, for they said, ‘Show us God openly’, before our eyes; so the thunderbolt, death, seized them, as punishment for them, for their evildoing, when they harassed him ˹Moses˺ with this demand. They then took to themselves the ˹golden˺ calf, for a god, after clear proofs, the miracles testifying to God’s Oneness, had come to them; yet We pardoned that, and did not annihilate them; and We bestowed upon Moses clear authority, evident and manifest sway over them, for when he commanded them to slay themselves in repentance, they obeyed him.
القرآن:٤:١٥٣

يَسْأَلُكَ أَهْلُ الْكِتَابِ أَنْ تُنَزِّلَ عَلَيْهِمْ كِتَابًا مِنَ السَّمَاءِ ۚ فَقَدْ سَأَلُوا مُوسَىٰ أَكْبَرَ مِنْ ذَٰلِكَ فَقَالُوا أَرِنَا اللَّهَ جَهْرَةً فَأَخَذَتْهُمُ الصَّاعِقَةُ بِظُلْمِهِمْ ۚ ثُمَّ اتَّخَذُوا الْعِجْلَ مِنْ بَعْدِ مَا جَاءَتْهُمُ الْبَيِّنَاتُ فَعَفَوْنَا عَنْ ذَٰلِكَ ۚ وَآتَيْنَا مُوسَىٰ سُلْطَانًا مُبِينًا  

{يسألك} يا محمد {أهل الكتاب} اليهود {أن تنزِّل عليهم كتابا من السماء} جملة كما أنزل على موسى تعنتا فإن استكبرت ذلك {فقد سألوا} أي آباؤهم {موسى أكبر} أعظم {من ذلك فقالوا أرنا الله جهرة} عيانا {فأخذتهم الصاعقة} الموت عقابا لهم {بظلمهم} حيث تعتنوا في السؤال {ثم اتخذوا العجل} إلها {من بعد ما جاءتهم البينات} المعجزات على وحدانية الله {فعفونا عن ذلك} ولم نستأصلهم {وآتينا موسى سلطانا مبينا} تسلطا بينا ظاهرا عليهم حيث أمرهم بقتل أنفسهم توبة فأطاعوه.