It is narrated from the Noble Prophet (S) on the authority...
It is narrated from the Noble Prophet (S) on the authority of Ibn Mas‘ud that he said: "By Allah in Whose Hand of Might rests my soul, I witnessed the Mount of Hira through the two halves of the moon when it was cleft asunder." According to Qur’an exegetes, transmitted traditions, and historical sources, there is no doubt as to Cleaving of the Moon which happened by Divine Will and the Noble Prophet's (S) miracle.[^2] Sunni exegetes and traditionists maintain that Cleaving of the Moon is consecutively transmitted[^3] among whom mention may be made of Suyuti quoting the same on the authority of ‘Abd al-Razzaq, Ahmad, ‘Abd ibn Humayd, Muslim, Ibn Jurayr, Ibn al-Mundhar, Tirmidhi, Ibn Murdiwayh, Bayhaqi[^4], and Qurtubi[^5].
Other sources have transmitted the same on their authorities. It is a matter of consensus and is free from doubt. The sources are not mentioned herein for the sake of brevity. The second blessed Verse is saying that when obdurate disbelievers witness the miracle proving the veracity of your Prophetic Call turn away saying that it is a magic repeated.
The Arabic word mustamirr (continuous, repeated) reflects that they had repeatedly seen miracles worked by the Noble Prophet of Islam (S) such that Cleaving of the Moon was another. Although such false ascription was a pretext for their disobedience to Truth.
Alluding to their opposition and its inauspicious consequences, the blessed Verse 3 is saying that they belied and followed their concupiscent desires and "every matter will have a place [for its own]." The point is that their denial of the Prophetic Call, the Noble Prophet's (S) miracles, and their denial of Resurrection sprang from their following concupiscent desires, since their prejudice, obduracy, and arrogance impeded their submission to Truth.
On the other hand, their lust for unconditional deriving pleasures of the flesh and their impurities stemming from committing sins and doing wrong served as obstacles in acknowledging the Call to Truth, since such acknowledgement entailed obligations. It has been always likewise and it will remain the same. The worst obstacle on the path toward Truth is following concupiscent desires.
"Every matter will have a place [for its own]" designates that everyone will receive the Reward and Recompense of his own deeds. The good shall reap Rewards and the evil shall suffer the evil consequences of their vile deeds.