It is narrated from Hazrat Anas (may Allah be pleased with him) that the people of Makkah requested the Prophet (peace and blessings be upon him) to show a miracle, so the Prophet (peace and blessings be upon him) showed them the miracle of the splitting of the moon twice.