I wanted to know about the Ayats in which the Quran says the Prophet(saw) "sinned"
Qur'an 40:55 47:19 48:2

Page 22 onwards

https://www.al-islam.org/printpdf/book/export/html/12219