All the months are created by Allah the Almighty and they belong to Him. Muslims should not be superstitious or be pessimistic about any month, day, or time. There is nothing in the sources of sharia that prohibits getting married in the month of Safar, Muharram or any other month of the year.
In his response to this issue, the prominent Muslim scholar, Sheikh MuhammadIqbal Nadvi said:
“…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).