from sunni perspective the prophet pbuh died normally ,, he had strong sickness before dying ,, some sunni narrations trying to relate his death pbuh to an occasion happened several years before which makes it impossible (( a jew woman tried to poison the prophet pbuh by cooking meat of sheap and poison it and give it to prophet pbuh and his friends to eat ,,, then the cooked arm talked to the prophet pbuh when he touched it ,and told him its poisoned mm the prophet pbuh asked the woman why did she do this ,, she answered she did that to know if he was not a prophet then he die , and if he was a prophet then they make sure ,,, anyway the prophet pbuh lived after this occasion by many years and his friends too who was on the same table was alive so its impossible
according to shia the prophet pbuh was killed and poisoned but not through the sheap ,,, as its narrated too that imam hassan the grandson of prophet muhammad pbuh told he is going to die by poison like his grandfather prophet muhammad peace be upon them ,,wife of imam hassan pbuh is the one who poisoned him as the enemy moawya promised her to marry from his son then he just gave her money saying you killed the son of prophet pbuh how can i feel safe on my son with you !! ,,, so some narration saying that when the prophet pbuh was dying ,, his wives ((aisha > her father is the 1st one ruled muslims after prophet pbuh talking the place of the true successor imam ali pbuh and hafsa>> daughter if the 2nd ruler )) ,,, so the 2 wives and some others tried to give the prophet something when he fall unconscious many times , its some sort of medicine given to one who is sick from some disease but the prophet ordered them when he was awake dont give me this drink ,then as he fall unconscious they gave him this drink in his mouth then when he become awake he told them i told you not to give me this ,,, so there is a strong possibility that the prophet muhammad pbuh was poisoned through his wives
Allah says in Quran
Muhammad (SAW) is no more than a Messenger, and indeed (many) Messengers have passed away before him. If he dies or is killed, will you then turn back on your heels (as disbelievers)? And he who turns back on his heels, not the least harm will he do to Allâh, and Allâh will give reward to those who are grateful. (144)
sura 3