Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:13202Abū ʿAlī al-Rūdhbārī > Ismāʿīl b. Muḥammad al-Ṣaffār > Muḥammad b. ʿAlī al-Warrāq > ʿUbaydullāh b. Mūsá > Ibn Abū Yaʿlá > ʿAṭiyyah > Abū Saʿīd al-Khudrī > Rasūl Allāh Ṣalá

[Machine] The Messenger of Allah ﷺ said, "Charity is not permissible for the wealthy, except in the way of Allah, or for the traveler, or if you have a needy neighbor and you give charity to him, then he benefits you. And if this is correct, then according to Allah's knowledge, the son of the traveler is rich in his own country, but is needy while traveling. And the narration of Ata ibn Yasar from Abu Sa'id is the most authentic, although it does not mention the son of the traveler, and Allah knows best."  

البيهقي:١٣٢٠٢أَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ إِسْمَاعِيلُ بْنُ مُحَمَّدٍ الصَّفَّارُ ثنا مُحَمَّدُ بْنُ عَلِيٍّ الْوَرَّاقُ ثنا عُبَيْدُ اللهِ بْنُ مُوسَى أنبأ ابْنُ أَبِي يَعْلَى عَنْ عَطِيَّةَ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ ؓ قَالَ

قَالَ رَسُولُ اللهِ ﷺ لَا تَحِلُّ الصَّدَقَةُ لِغَنِيٍّ إِلَّا فِي سَبِيلِ اللهِ وَابْنِ السَّبِيلِ أَوْ يَكُونُ لَكَ جَارٌ مِسْكِينٌ فَتُصُدِّقَ عَلَيْهِ فَيُهْدِي لَكَ وَهَذَا إِنْ صَحَّ فَإِنَّمَا أَرَادَ وَاللهُ أَعْلَمُ ابْنَ سَبِيلٍ غَنِيًّا فِي بَلَدِهِ مُحْتَاجًا فِي سَفَرِهِ وَحَدِيثُ عَطَاءِ بْنِ يَسَارٍ عَنْ أَبِي سَعِيدٍ أَصَحُّ طَرِيقًا وَلَيْسَ فِيهِ ذِكْرُ ابْنِ السَّبِيلِ وَاللهُ أَعْلَمُ