Historians of early Islam generally urge caution about taking the traditional account of this song's origin at face value: the sira literature that records the people of Medina singing it to greet Muhammad in 622 was itself compiled generations after the events it describes, and scholars working critically on this material have noted that anecdotes of this kind, vivid, emotionally satisfying scenes attached to a specific arrival, are exactly the sort of detail early Islamic historical writing is most likely to have shaped or embellished in retrospect to serve later devotional and community memory, rather than transmitted as verified eyewitness record. This does not mean the tradition is necessarily false, only that its status as literally the earliest surviving Islamic hymn rests on trusting a later narrative source for an early event, a different kind of evidence than a contemporary attestation would provide.
Whatever its true origin, the song achieved a very different kind of fame in the later twentieth century when the British musician Yusuf Islam, known before his conversion to Islam as Cat Stevens, recorded and performed versions of it, introducing the song to a large international audience with no prior connection to its traditional Medinan origin story, an unusually direct case of a centuries old traditional Islamic hymn reaching global popular audiences through one specific contemporary musician's recordings rather than through any organized religious institution's promotion.