The Early History of the Adhan, Originating from a Companion's Dream
Five times a day, the adhan echoes, marking the time for obligatory prayers. But did you know that the call to prayer was born through the deliberation of the Prophet’s companions and divine guidance through a dream? Before the adhan was prescribed, Muslims in Medina lacked a uniform signal for prayer times, so many would be late or miss the congregational prayers.
Prophet Muhammad (peace be upon him) consulted with his companions. Several suggestions, like ringing a bell, blowing a horn, lighting a fire, or raising flags, were rejected because they resembled the traditions of other communities or were ineffective. Meanwhile, the call "Ash-shalaatu jaami'ah" was used.
One night, companion Abdullah bin Zaid dreamt that he was taught the wording of the adhan by a man dressed in green. The words included takbeer, shahada, an invitation to prayer, and a call to success. The next morning, the Prophet confirmed it as a true dream from God and ordered Bilal bin Rabah to call the adhan because of his beautiful voice. Umar bin Khattab also had a similar dream, reinforcing this ruling. From then on, the adhan officially became the signal for prayer times.
Bilal became the first muadhin and continued to call the adhan until the Prophet passed away. After that, he was deeply saddened and chose to stop, then went off to fight in Syria. A few years later, in Jerusalem, Umar asked him to call the adhan again. His voice brought tears, reminding the companions of their days with Prophet Muhammad (peace be upon him).
https://mozaik.inilah.com/dakw