Saying "Ya" While Remembering

In The Name Of Allah Most Gracious Most Merciful
Assalaamu Alaykum Wa Rahmatuallahi wa barakatuhu

Saying “Ya” While Remembering

Send Peace On Grave Inhabitants
Sahih Muslim HadithHadith 2128 Narrated byBuraydah ibn al-Hasib
The Messenger of Allah (peace be upon him) used to teach them when they went out to the graveyard. One of the narrators used to say this in the narration transmitted on the authority of AbuBakr: "Peace be upon the inhabitants of the city (i.e. graveyard)". In the hadith transmitted by Zuhayr (the words are):"Peace be upon you, the inhabitants of the city, among the believers, and Muslims, and God willing we shall join you. I beg of Allah peace for us and for you.

Send Peace on Prophet Muhammad peace be upon him

33: 56 Allah and His angels send blessings on the Prophet: O ye that believe! send ye blessings on him and salute him with all respect.

There is no Muslim who invokes blessings upon me (salutes me), but Allah returns to me my soul till I respond to him in return.
Abu Dawood, Sunan, b. of manasik (rituals of hajj), (2: 218 # 2041); Ahmad bin Hambal, Musnad, 2:527.

Isa alai salaam
Hadrat Isa ((رضي الله عنه) will return to this world. Then Hadrat Eisa ((رضي الله عنه) will visit Madinah and the Prophet (Allah bless him and give him peace) sai
And when he (Isa) will stand beside my grave calling: "O Muhammad!" I will respond to him.
Ibn Hajar Asqalani, al-Matalib-ul-‘aliyah, (4: 23 # 3853).
*Note: *Note:This will happen when promise of Allah will happen,Isa aali salaam decending from heaven,during his return miraculous things will happen as his decend itself would be a unique event .Rasool Allah salla lahu alaihi wa sallam will respond.

To recite after every Salaah and at other times, the following attahiyat
: "As Salaatu Was Salaamu Alaika Ya Rasoolullah" (Peace and Blessings upon you, O Messenger of Allah), or to recite "As Alukash Shafaa'atu Ya Rasoolullah" (I seek from you Shafaa'at 'Intercession', O Messenger of Allah) is totally permissible.

*Note:Attahiyat ... As-salamu alayka ayyuha'nnabiyyu these are the words of worship ,and words of worship do not change,just like in Quran "Allah command Rasool Allah to fight,to go and teach etc after his death he does not goes and fight yet the same words of Quran are repeated in prayer.
because even after prophet’s death,words of worship do not change.Like for example he was commanded to marry Zainab,after marriage also he used to read the verse of "the command to marry her"thus words of worship do not change.

Saying “O Muhammad” while supplicating When Prophet Was Alive
sunan ibn -e-majah vol 2-1383"uthman b. hunaif is reported to have said that a blind person came to the holy prophet {peace be upon him) and sai "pray to Allah for me to save me from worries}he(the holy prophet) said"if you want,i will pray for the hereafter for you while it is a good and if you want ,i shall pray (for you)"He said"pray to him(Allah)"Upon this he commanded him to perform ablution and perform the ablution well and ( then)pray two rakat and invoke (Allah)with this supplication:O Allah ,i beg thee :and i turn my face to thee with Muhammad,the prophet of mercy,o Muhammad i have turned my self with you toward my lord regarding this need of mine so that it is fulfilled.O Allah ,grant his intercession in my favour"

Abu Ishaq said, This is sahih hadith.This is the hadith ,which Tirmidhi transmitted in the chapters on "supplications".It is one of the different ahadith relating to the chapters on "Supplications"and he said "This is hasan sahih gharib hadith.I do not know it but in this respect from the hadith of Abu Jafar.

*Note:The prophet’s prayer & intention to pray for others is permitted infact commanded.It is Only When Prophet was living on earth.Muslims came and asked him to pray for their forgiveness.And turned to Allah through [prophet peace be upon him].
The word used in the Arabic text is “Elaika”. i.e. WITH, not `Through’!Even if another another quotes "Through" it does'nt changes its essence.

Saying “O Muhammad” While Supplicating After Prophet’s Death
Moreover, Tabarani, in his "al-Mu'jam al saghir," reports a hadith from 'Uthman ibn Hunayf that a man repeatedly visited Uthman ibn Affan (Allah be pleased with him) concerning something he needed, but Uthman paid no attention to him or his need. The man met Ibn Hunayf and complained to him about the matter - this being after the death (wisal) of the Prophet (Allah bless him and give him peace) and after the caliphates of Abu Bakr and Umar - so Uthman ibn Hunayf, who was one of the Companions who collected hadiths and was learned in the religion of Allah, said: "Go to the place of ablution and perform ablution (wudu), then come to the mosque, perform two rak'as of prayer therein, and say:
'O Allah, I ask You and turn to You through our Prophet Muhammad,
the Prophet of mercy; O Muhammad (Ya Muhammad), I turn through you to my Lord, that He may fulfill my need,' and mention your need. Then come so that I can go with you [to the caliph Uthman]." So the man left and did as he had been told, then went to the door of Uthman ibn Affan (Allah be pleased with him), and the doorman came, took him by the hand, brought him to Uthman ibn Affan, and seated him next to him on a cushion. 'Uthman asked, "What do you need?" and the man mentioned what he wanted, and Uthman accomplished it for him, then he said, "I hadn't remembered your need until just now," adding, "Whenever you need something, just mention it." Then, the man departed, met Uthman ibn Hunayf, and said to him, "May Allah reward you! He didn't see to my need or pay any attention to me until you spoke with him." Uthman ibn Hunayf replied, "By Allah, I didn't speak to him, but I have seen a blind man come to the Messenger of Allah (Allah bless him and give him peace) and complain to him of the loss of his eyesight. The Prophet (Allah bless him and give him peace) said, "Can you not bear it?' and the man replied, 'O Messenger of Allah, I do not have anyone to lead me around, and it is a great hardship for me.' The Prophet (Allah bless him and grant him peace) told him, 'Go to the place of ablution and perform ablution (wudu), then pray two rak'as of prayer and make the supplications.'" Ibn Hunayf went on, "By Allah, we didn't part company or speak long before the man returned to us as if nothing had ever been wrong with him."

The account has been classified as rigorously authenticated (SAHIH) by Baihaqi, Mundhiri, and Haythami.

**Note: 'O Allah, I ask You and turn to You through our Prophet Muhammad peace be upon him,Intercession/Waseela through the rank,postion,status of Prophet salla lahu alaihi wa sallam before Allah.It means for the sake of Rasool Allah,accept forgiveness o Allah!
Words of Supplication do not change

Love Me Because Of The Love Of Allah
Al-Tirmidhi HadithHadith 6173 Narrated byAbdullah ibn Abbas
Allah's Messenger (peace be upon him) said, "Love Allah for the favours with which He provides you, love me because of the love of Allah, and love my family from love of me."Tirmidhi transmitted it.
*Note:Love Prophet Muhammad peace be upon him for the love of Allah .Those who love Prophet Muhammad peace be upon him will be blessed by Allah.

Volume 8, Book 78, Number 628: Narrated 'Abdullah bin Hisham:
We were with the Prophet and he was holding the hand of 'Umar bin Al-Khattab. 'Umar said to Him, "O Allah's Apostle! You are dearer to me than everything except my own self." The Prophet said, "No, by Him in Whose Hand my soul is, (you will not have complete faith) till I am dearer to you than your own self." Then 'Umar said to him, "However, now, by Allah, you are dearer to me than my own self." The Prophet said, "Now, O 'Umar, (now you are a believer)."

Love Leads To Remembrance
Saying “Ya”-“O” While Remembering Prophet Muhammad [salla lahu alahi wa sallam]

Saying “O Muhammad “ out of love for him while remembering him is permitted.Cure comes from Allah alone.Loving Prophet Muhammad peace be upon him comes out of love for Allah,and loving Allah is blessing and Allah blesses his servants.

Hazrat Abdullah Ibn Omar (radi Allahu anhu) once suffered from a cramp. Someone advised him to remember the person whom he loved the most. The great companion then proclaimed loudly, "Ya Muhammadah." It is recorded that he was immediately relieved. (Kitaabul Adaabul Mufrad)
*Note:Saying “O Muhammad “ out of love for him while remembering him is permitted.Cure comes from Allah alone.Loving Prophet Muhammad peace be upon him comes out of love for Allah,and loving Allah is blessing and Allah blesses his servants.

It is an established practice of the people of Medina Shareef to proclaim "Ya Muhammadah" in times of difficulty and anxiety. (Naseem-ur Riyaaz)

A drought, which was known as "Aamur Ramadah" once, occurred during the Caliphate of Hazrat Umar Farouk (radi Allahu anhu). His tribe, the Bani Muzaina, approached him and complained that they were dying of hunger, and thus requested the Caliph to sacrifice a few sheep. When he told them that there was nothing left of the sheep, they still insisted. After the sheep were cut and cleaned they noticed that only red bones were to be seen. Hazrat Bilal (radi Allahu anhu), seeing this state of affairs, proclaimed loudly, "Ya Muhammadah", in grief and concern. He was then blessed with seeing the Holy Prophet (sallal laahu alaihi wasallam) in his dream, who informed him of future glad tidings which did occur later on.

Imaam-e-Mujtahid Sayyidi Abdur Rahman Huzaili Kufi Masoodi (radi Allahu anhu) was the grandson of Hazrat Abdullah ibn Masood (radi Allahu anhu). He was also a very great Jurist and a Taabi'in of high rank. It is stated that he used to wear a long hat with the inscribed words, "Muhammad, Ya Mansoor[Victorious]."

Ya Muhammadah - Battle-cry of the Companions
Imam Ibn Kathir says that on the occasion of the battle of Yamamah, ya Muhammadah (O Muhammad)was the battle-cry of the Muslims.
He adds that during the war, Khalid bin al-Walid picked up the flag, and passing through the army positions, set out towards the mountain of
Musaylimah, the Liar. He waited there for him to turn up so that he could kill him. Then he returned and, standing between the two armies, he
shouted:I am the son of al-Walid. I am the son of ‘Amir and Zayd.
Ibn Kathir further adds:Then he raised the battle-cry current among the Muslims, which was ‘ya Muhammadah’
Ibn Kathir, al-Bidayah wan-nihayah (5:30).

*Note:Its just remembering Prophet Muhammad salla lahu alahi wa sallam .

Conclusion:saying "ya" for the dead as well as for the alive while absent is permitted provided the intentions is to remember .

Allah knows best