It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Whoever among you is faced with death should be in the state of having good expectations from Allah, because some people intended to have bad thoughts about Allah, so Allah said: 'This is your vile assumption which you assumed about your Lord, so you have become among the losers.'"