Wa `alaykum as-salamu wa rahmatullahi wa barakatuh.
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this fatwa:
1- All the months are created by Allah the Almighty and they belong to Him.
2- Muslims should not be superstitious or be pessimistic about any month, day, or time.
3- There is nothing in the sources of the Shari`ah that prohibits getting married in the month of Safar, Muharram or any other month of the year.
In his response to your question, the prominent Muslim scholar, Sheikh MuhammadIqbal Nadvi, Director and Imam of Al-Falah Islamic Center, Oakville, Ontario, Canada , states:
Prohibiting marriage in Safar and Muharram or any other month is a myth. The Prophet (peace and blessings be upon him) advised us not to curse any time, because time has been created by Allah the Almighty and if we curse time, it is like cursing Him.
The rumor that some bad luck or evils happen in the month of Safar and Muharram is unfounded. When `A’ishah (may Allah be pleased with her) was asked about whether it was true that marrying in the month of Safar would bring bad luck, she indicated that the Prophet (peace and blessings be upon him) married her in the month of Safar and she was the luckiest woman by marrying the Messenger of Allah (peace and blessings be upon him).
Allah Almighty knows best.