ANSWER: This is authentic. However the hadith you are referring to is about reciting it before sleeping for protection against punishment of the grave.

Read more