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:2:35

And We said, "O Adam, dwell, you and your wife, in Paradise and eat therefrom in ˹ease and˺ abundance from wherever you will. But do not approach this tree, lest you be among the wrongdoers."  

And We said, ‘Adam, dwell (anta, ‘you’ ˹of ‘dwell you’˺ here reiterates the concealed pronoun ˹of the person of the verb uskun˺, so that it ˹wa-zawjuk˺ may be made a supplement to it); and your wife, Eve (Hawwā’) — who was created from his left rib — in the Garden, and eat thereof, of its food, easefully, of anything without restrictions, where you desire; but do not come near this tree, to eat from it, and this was wheat or a vine or something else, lest you be, become, evildoers’, that is, transgressors.
القرآن:٢:٣٥

وَقُلْنَا يَا آدَمُ اسْكُنْ أَنْتَ وَزَوْجُكَ الْجَنَّةَ وَكُلَا مِنْهَا رَغَدًا حَيْثُ شِئْتُمَا وَلَا تَقْرَبَا هَٰذِهِ الشَّجَرَةَ فَتَكُونَا مِنَ الظَّالِمِينَ  

{وقلنا يا آدم اسكن أنت} تأكيد للضمير المستتر ليعطف عليه {وزوجك} حواء بالمد وكان خلقها من ضلعه الأيسر {الجنة وكلا منها} أكلاً {رغداً} واسعا لاحجر فيه {حيث شئتما ولا تقربا هذه الشجرة} بالأكل منها وهى الحنطة أو الكرم أو غيرهما {فتكونا} فتصيرا {من الظالمين} العاصين.

See similar narrations below:

Collected by Qurʾān
quran:7:19

And "O Adam, dwell, you and your wife, in Paradise and eat from wherever you will but do not approach this tree, lest you be among the wrongdoers."  

And, He said, ‘O Adam, dwell, you (anta: this is reiterated in order to emphasise the subject of the verb uskun, ‘dwell’, and to supplement to it ˹what follows˺) and your wife, Eve (read Hawwā’), in the Garden, and eat from whence you will, but do not come near this tree, to eat of it — and this was wheat — lest you become evildoers’.
القرآن:٧:١٩

وَيَا آدَمُ اسْكُنْ أَنْتَ وَزَوْجُكَ الْجَنَّةَ فَكُلَا مِنْ حَيْثُ شِئْتُمَا وَلَا تَقْرَبَا هَٰذِهِ الشَّجَرَةَ فَتَكُونَا مِنَ الظَّالِمِينَ  

{و} قال {يا آدم اسكن أنت} تأكيد للضمير في اسكن ليعطف عليه {وزوجك} حواء بالمد {الجنة فكلا من حيث شئتما ولا تقربا هذه الشجرة} بالأكل منها وهي الحنطة {فتكونا من الظالمين}.