Sahih al-Bukhari, Book 60, Hadith 79 (Bukhari 3266)

Narrated Jabir bin `Abdullah:

We were with Allah's Messenger (ﷺ) picking the fruits of the 'Arak trees, and Allah's Messenger (ﷺ) said, "Pick the black fruit, for it is the best." The companions asked, "Were you a shepherd?" He replied, "There was no prophet who was not a shepherd."