Abul Azhar al-Aimari told that when God’s messenger went to his bed at night he said, “In the name of God. I have laid down my side for God. O God, forgive me my sin, drive away my devil, free me from my responsibility, and place me in the highest assembly.”
Abu Dawud transmitted it.