Tariq ibn Ziyad was sent by Musa ibn Nusayr in the year 711 AD as a chief commander to conquer Andalus. His men numbered 12000-17000. On his journey he decided to take some rest and sleep. It is said whilst sailing across the sea, which separates Africa from Andalus, he saw in his dream the prophet (صلى الله عليه وسلم) surrounded by arabs of the Muhajiruun and Ansaars, who with unsheathed swords and bended bows stood by him. They also heard the prophet (صلى الله عليه وسلم) say ” take courage, O Tariq! and accomplish what you are destined to perform. ” On hearing this, he looked around him and saw the messenger of Allah (صلى الله عليه وسلم) and his companions entering Andalus. Tariq immediately awoke from his sleep with a smile, and from that moment on he never doubted victory. Tariq advanced towards a small mountain in the sea which later became known as Jabal Tariq (Mount Tariq) derived from which is the modern name: Gibraltar. Here Tariq and his army disembarked into the darkness of the night. He then set fire to his fleet and in his determination to conquer Andalus he told his army ” I have now burnt the ships, and now there is no return for us and here we will conquer or die fighting.”
The king of the time, King Roderick, heard about the seizure and immediately prepared his army which numbered 100,000. King Roderick set off with confidence that they will make each and every Arab his prisoner. Roderick took his army to Cordova to attack Tariq and his armies.
Before the battle, Tariq gave a speech which portrayed his valiance, determination and ideology regarding the life after death. In this speech he also mentioned his desire to kill King Roderick with his own hands. After his influential speech, Tariq and his army with their white turbans and spears in their hands proceeded towards the battlefield. When Tariq reached the battlefield he saw his ambition and aimed his arrow towards him and killed him. He had now fulfilled his long felt desire and gained victory for the Muslims. It is said in the confusion that followed the defeated Christian soldiers fled for their lives, the body of King Roderick had also disappeared. The Muslims had a zeal for knowledge, they were advanced in architecure and were masters in science.
When Tariq and his army conquered a large portion of Spain in 711-718 AD, which mainly consisted of the Moors who were a Muslim tribe from North Africa, they immediately implemented Islamic law ( Shariah ) with Caliphates. the muslim ruled with islamic law for over 800 years. However when the Muslim government of Spain collapsed during the early 1000s due to the fighting amongst the groups of Moors, the country split into many small Moorish states and independent cities. This was not the only reason for the downfall of a nation which ruled for many centuries. This was due to the fact that the leaders did not rule according to the Islamic law and chose an un-islamic life.
Below is an extract from the hadith. Abdullah ibn Umar narrates ; “The Prophet (صلى الله عليه وسلم) came to us and said O muhajiruun, you may be afflicted by five things, may Allah forbid you live to see them, if leaders do not govern according to the book of Allah, you should realize this will not happen without Allah making them into groups and making them fight another. ” ( Ibn Majah, Kitab al Fitan, 4019,2/1332 ) you can see from this small extract how the Prophet Muhammad (صلى الله عليه وسلم) had advanced knowledge of the future and how correct his prophecies were to be.