Language:
كتاب الأدب
78  
Good Manners and Form (Al-Adab)
(98)
Chapter: Saying: "Marahaba"
(98)
باب قَوْلِ الرَّجُلِ مَرْحَبًا
Sahih al-Bukhari 6176

Narrated Ibn `Abbas:

When the delegation of `Abdul Qais came to the Prophet, he said, "Welcome, O the delegation who have come! Neither you will have disgrace, nor you will regret." They said, "O Allah's Messenger (ﷺ)! We are a group from the tribe of Ar-Rabi`a, and between you and us there is the tribe of Mudar and we cannot come to you except in the sacred months. So please order us to do something good (religious deeds) so that we may enter Paradise by doing that, and also that we may order our people who are behind us (whom we have left behind at home) to follow it." He said, "Four and four:" offer prayers perfectly , pay the Zakat, (obligatory charity), fast the month of Ramadan, and give one-fifth of the war booty (in Allah's cause), and do not drink in (containers called) Ad-Duba,' Al-Hantam, An-Naqir and Al-Muzaffat."

حَدَّثَنَا عِمْرَانُ بْنُ مَيْسَرَةَ، حَدَّثَنَا عَبْدُ الْوَارِثِ، حَدَّثَنَا أَبُو التَّيَّاحِ، عَنْ أَبِي جَمْرَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ لَمَّا قَدِمَ وَفْدُ عَبْدِ الْقَيْسِ عَلَى النَّبِيِّ صلى الله عليه وسلم قَالَ ‏"‏ مَرْحَبًا بِالْوَفْدِ الَّذِينَ جَاءُوا غَيْرَ خَزَايَا وَلاَ نَدَامَى ‏"‏‏.‏ فَقَالُوا يَا رَسُولَ اللَّهِ إِنَّا حَىٌّ مِنْ رَبِيعَةَ وَبَيْنَنَا وَبَيْنَكَ مُضَرُ، وَإِنَّا لاَ نَصِلُ إِلَيْكَ إِلاَّ فِي الشَّهْرِ الْحَرَامِ، فَمُرْنَا بِأَمْرٍ فَصْلٍ نَدْخُلُ بِهِ الْجَنَّةَ، وَنَدْعُو بِهِ مَنْ وَرَاءَنَا‏.‏ فَقَالَ ‏"‏ أَرْبَعٌ وَأَرْبَعٌ أَقِيمُوا الصَّلاَةَ، وَآتُوا الزَّكَاةَ، وَصَوْمُ رَمَضَانَ، وَأَعْطُوا خُمُسَ مَا غَنِمْتُمْ، وَلاَ تَشْرَبُوا فِي الدُّبَّاءِ، وَالْحَنْتَمِ، وَالنَّقِيرِ، وَالْمُزَفَّتِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 6176
In-book reference : Book 78, Hadith 200
USC-MSA web (English) reference : Vol. 8, Book 73, Hadith 195
  (deprecated numbering scheme)