A good believer should be certain that the whole universe runs according to Allah’s will. The Qur’an is a revealed book and is the code of the Muslim nation. The Qur’an has nothing called luck numbers as some people presume. Numbers mean numbers and nothing more than that. Believing in lucky numbers and so on would weaken the person’s faith so as Muslims we should abstain from such things.
It is not permitted for the Muslim who believes in Allah as his Lord, Islam as his religion, Muhammad (peace and blessings be upon him) as a Prophet and Messenger, and in the divine decree, both good and bad, to think that any being, entity or quality can have a specific effect in bringing good or warding off harm, as there is no evidence in shar’iah to that effect. This is part of the legacy of jahiliyyah (ignorance) which has been cancelled out by Islam and is regarded as being shirk which negates perfect monotheism, because it is insinuating thoughts and scare tactics from the Satan.
It is like the attitude of the people of Pharaoh, about whom Allah said (interpretation of the meaning): “But whenever good came to them, they said, ‘Ours is this.’ And if evil afflicted them, they ascribed it to evil omens connected with Moses and those with him…” [al-A’raf 7:131]. If some disaster or drought befell them, they blamed it on evil omens which they associated with Moses and the believers with him, but Allah refuted this and said (interpretation of the meaning): “… Verily, their evil omens are with Allah…” [al-A’raaf 7:131].
Ibn ‘Abbas (may Allah be pleased with them both) said: “‘Their evil omens’ means what He decreed for them; they were the cause of what happened to them because of their kufr and rejection of the signs and messengers of Allah.”
No doubt this also includes the superstitions about the number 13. There is no indication in the Qur’aan or Sunnah that this number should be regarded as inauspicious in any way.
In conclusion, there is nothing called lucky numbers in the Qur’an at all and to believe that such things would bring goodness of prevent evil, this would constitute a great mistake in the person’s faith. As a good believer, one must be certain that everything in this life runs only through Allah’s will and nothing else.