Kaab bin Malik reported,

Ibn Sarh recounted the story of his staying behind from the Prophet ﷺ during the expedition of Tabuk. He said, "The Messenger of Allah ﷺ forbade the Muslims from speaking to the three of us. When this dragged on for me, I climbed over the wall of the garden belonging to Abu Qatada, who was my cousin, and I greeted him with peace. By Allah, he did not return my greeting."Then he went on to relate the account of the revelation of his repentance.

Abu Dawud 4600

Sahih

حدثنا ابن السرح أخبرنا ابن وهب قال أخبرني يونس عن ابن شهاب قال أخبرني عبد الرحمن بن عبد الله بن كعب بن مالك أن عبد الله بن كعب بن مالك وكان قائد كعب من بنيه حين عمي قال سمعت

كعب بن مالك وذكر

ابن السرح قصة تخلفه عن النبي ﷺ في غزوة تبوك قال ونهى رسول الله ﷺ المسلمين عن كلامنا أيها الثلاثة حتى إذا طال علي تسورت جدار حائط أبي قتادة وهو ابن عمي فسلمت عليه فوالله ما رد علي السلام ثم ساق خبر تنزيل توبته

أبو داود 4600صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Sunnah
Chapter
Avoiding the people of desires and hating them
Numbering
Darussalam 4600
Abu Dawud 4600