What is the version of the following sentence with correct punctuation?

A Muslim must believe in Allah and the messengers Abraham David Joseph Jesus Moses
A Muslim must believe in Allah and the messengers, Abraham, David, Joseph, Jesus, Moses.