In Tahawi’s Sharh Mushkil Al-Athar, a narration from Ali (RA) is recorded. This is a brief narration. It states that when this incident occurred, he and some other companions were present with the Prophet (PBUH). The narration is as follows:
حدثنا علي بن عبد الرحمنِ بنِ محمد بنِ المغيرة المخزومي الكوفِي، حدثنا لوين، حدثنا حديج بن معاوية الجعفي، عن أبِي إسحاق، عن أبِي حذيفة قال أبو جعفر ــــ وهو سلمة بن صهيب الأرحبي ــــ عن علي بنِ أبِي طالب رضي اللّٰہ عنه قال: انشق القمر، ونحن مع رسول الله عليه السلام.
Ali bin Abdur Rahman bin Muhammad bin Mughira Makhzumi Kufi narrated to us, he said that Luwayn narrated to us, he said that Hadaj bin Muawiya Jufi narrated to us, from Abu Ishaq, from Abu Hadhifa, who said that Abu Ja‘far—who is Salamah bin Suhaib Al-Arji—said that Hazrat Ali (RA) stated: (We observed that) the moon split, and at that time we were with the Messenger of Allah (PBUH). (696)