The phrase means "O Muhammad." The ya part of the phrase Ya Muhammad addresses the person. The word ya is commonly used by Arabic speakers before names.[2]
Many use the phrase to seek prayer from the Prophet or his family, companions and other figures. The majority of people who use the phrase are either Shia or Sufi.[3][4]
Mourning of Muharram
During the mourning of Muharram, the phrases Ya Hussain (O Hussain [referring to Husayn ibn Ali, the grandson of the Prophet Muhammad]), Ya Ali (O Ali [referring to the close family member and companion Ali]) and Ya Rasulallah (O Messenger of God [referring to the Prophet Muhammad) are common. During these ocassions, the slogans show their support.[5]