The people around a sick person (whose death is imminent) should instruct and encourage him/her to say the shahadah.
The Prophet (peace and blessings of Allah be upon him) said:
Prompt the dying .. (Read More)

Indeed, to Allah belongs what He took, and to Him belongs what He gave, and everything with Him has an appointed time. …and then the Prophet (peace and blessings of Allah be upon him) ordere .. (Read More)