Hadithcore
Sahih Muslim, 2047 a
sahih

Amir b. Sa'd b. Abu Waqqas, on the authority of his father, reported Allah's Messenger (ﷺ) having said:

He who ate seven dates (of the land situated) between these two lava plains in the morning, no poison will harm him until it is evening.

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ بْنِ قَعْنَبٍ، حَدَّثَنَا سُلَيْمَانُ، - يَعْنِي ابْنَ بِلاَلٍ - عَنْ عَبْدِ اللَّهِ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ عَامِرِ بْنِ سَعْدِ بْنِ أَبِي وَقَّاصٍ، عَنْ أَبِيهِ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏

‏ مَنْ أَكَلَ سَبْعَ تَمَرَاتٍ مِمَّا بَيْنَ لاَبَتَيْهَا حِينَ يُصْبِحُ لَمْ يَضُرَّهُ سُمٌّ حَتَّى يُمْسِيَ ‏

‏ ‏.‏

References2 variants
In-Book Reference
Book 36, Hadith 212
USC-MSA web (English) reference
Book 23, Hadith 5080 (deprecated numbering scheme)