In Islamic consensus more than Noah, Ibrahim, Mousa and Isaa(Jesus) are infallible too. but as you said for all of them there are stories in Quran which showing that they are not infallible. So this is still a debate, if they are infallible or not. But about Mohammad, the Quran strictly says he woul...