This commentary covers verses 2:35 to 2:36.
Adam was honored again
Allah honored Adam by commanding the angels to prostrate before him, so they all complied except for Iblis. Allah then allowed Adam to live and eat wherever and whatever he wished in Paradise. Al-Hafiz Abu Bakr bin Marduwyah reported Abu Dharr saying, "I said, `O Messenger of Allah ﷺ ! Was Adam a Prophet' He said,
«نَعَمْ نَبِيًّا رَسُولًا كَلَّمَهُ اللَّهُ قُبُلًا»
(Yes. He was a Prophet and a Messenger to whom Allah spoke directly), meaning
اسْكُنْ أَنتَ وَزَوْجُكَ الْجَنَّةَ
((O Adam!) Dwell you and your wife in the Paradise.)"
Hawwa' was created before Adam entered Paradise
The Ayah (2:35) indicates that Hawwa' was created before Adam entered Paradise, as Muhammad bin Ishaq stated. Ibn Ishaq said, "After Allah finished criticizing Iblis, and after teaching Adam the names of everything, He said,
يَـاءَادَمُ أَنبِئْهُم بِأَسْمَآئِهِمْ
(O Adam! Inform them of their names) until,
إِنَّكَ أَنتَ الْعَلِيمُ الْحَكِيمُ
(Verily, You are the Knower, the Wise.)
Then Adam fell asleep, as the People of the Book and other scholars such as Ibn `Abbas have stated, Allah took one of Adam's left ribs and made flesh grow in its place, while Adam was asleep and unaware. Allah then created Adam's wife, Hawwa', from his rib and made her a woman, so that she could be a comfort for him. When Adam woke up and saw Hawwa' next to him, it was claimed, he said, `My flesh and blood, my wife.' Hence, Adam reclined with Hawwa'. When Allah married Adam to Hawwa' and gave him comfort, Allah said to him directly,
يَاءَادَمُ اسْكُنْ أَنْتَ وَزَوْجُكَ الْجَنَّةَ وَكُلاَ مِنْهَا رَغَدًا حَيْثُ شِئْتُمَا وَلاَ تَقْرَبَا هَـذِهِ الشَّجَرَةَ فَتَكُونَا مِنَ الْظَّـلِمِينَ
("O Adam! Dwell you and your wife in the Paradise and eat both of you freely with pleasure and delight, of things therein wherever you will, but come not near this tree or you both will be of the Zalimin (wrongdoers).")."
Allah tests Adam
Allah's statement to Adam,
وَلاَ تَقْرَبَا هَـذِهِ الشَّجَرَةَ
(but come not near this tree) is a test for Adam. There are conflicting opinions over the nature of the tree mentioned here. Some said that it was the grape tree, barley, date tree, fig tree, and so forth. Some said that it was a certain tree, and whoever eats from it will be relieved of the call of nature. It was also said that it was a tree from which the angels eat so that they live for eternity. Imam Abu Ja`far bin Jarir said, "The correct opinion is that Allah forbade Adam and his wife from eating from a certain tree in Paradise, but they ate from it. We do not know which tree that was, because Allah has not mentioned anything in the Qur'an or the authentic Sunnah about the nature of this tree. It was said that it was barley, grape, or a fig tree. It is possible that it was one of those trees. Yet, this is knowledge that does not bring any benefit, just as being ignorant in it…