We cautioned, “O Adam! Live with your wife in Paradise and eat as freely as you please, but do not approach this tree, or else you will be wrongdoers.”
˹Allah said,˺ “O Adam! Live with your wife in Paradise and eat from wherever you please, but do not approach this tree, or else you will be wrongdoers.”
Both contain the command to Adam and his wife in the garden: 'wherever you wish, but do not approach this tree lest you be among the wrongdoers'; 2:35 is the brief account, 7:19 comes in the expanded garden narrative.