Translation by Dr. Muhammad Muhsin Khan & Dr. Taqi-ud-Din al-Hilali
And you (O Muhammad صلى الله عليه وسلم) were not on the western side (of the Mount), when We made clear to Mûsâ (Moses) the commandment, and you were not among the witnesses.
Tafsir al-Sa'di — Shaykh Abd al-Rahman ibn Nasir al-Sa'di
Tafsir al-Sa'di (Taysir al-Karim al-Rahman fi Tafsir Kalam al-Mannan) is a Quran commentary by Shaykh Abd al-Rahman ibn Nasir al-Sa'di (d. 1376 AH), the great scholar of Unayzah in Najd. It explains the meaning of every verse in clear, flowing language, draws out the lessons, rulings and benefits of the verses, and follows the creed and methodology of the Salaf. It avoids long digressions, weak narrations and Israeliyyat. The tafsir is originally written in Arabic, translated to English by tohed.com.
When Allah had narrated to His Messenger these accounts of the unseen, He drew the servants' attention to the fact that this is purely divine information, which the Messenger had no way of knowing except through revelation. That is why He said: “And you were not on the western side”, that is, on the western side of the Mount, at the time when We decreed the matter to Musa, “nor were you among the witnesses” of that, so that it could be said that it reached you by that route.
View the Arabic text (Tafsir al-Sa'di)
ولمَّا قصَّ الله على رسولِهِ ما قصَّ من هذه الأخبار الغيبيَّة؛ نبَّه العبادَ على أنَّ هذا خبرٌ إلهيٌّ محضٌ، ليس للرسول طريقٌ إلى علمِهِ؛ إلاَّ من جهة الوحي؛ ولهذا قال: {وما كنتَ بجانِبِ الغربيِّ}؛ أي: بجانب الطُّورِ الغربيِّ وقت قضائنا لموسى الأمر، {وما كنتَ من الشاهدينَ}: على ذلك حتى يُقالَ: إنَّه وصل إليك من هذا الطريق.