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.
tabarani:18761ʿUmar b. Ḥafṣ al-Sadūsī > ʿĀṣim b. ʿAlī > Qays b. al-Rabīʿ > al-Miqdām b. Shurayḥ from his father from his grandfather Hāniʾ

[Machine] I said, "O Messenger of Allah, tell me something that will guarantee me Paradise." He replied, "It will guarantee you Paradise to feed the hungry and to spread peace."  

الطبراني:١٨٧٦١حَدَّثَنَا عُمَرُ بْنُ حَفْصٍ السَّدُوسِيُّ ثنا عَاصِمُ بْنُ عَلِيٍّ ثنا قَيْسُ بْنُ الرَّبِيعِ عَنِ الْمِقْدَامِ بْنِ شُرَيْحٍ عَنْ أَبِيهِ عَنْ جَدِّهِ هَانِئٍ قَالَ

قُلْتُ يَا رَسُولَ اللهِ حَدِّثْنِي بِشَيْءٍ يُوجِبُ لِي الْجَنَّةَ قَالَ «يُوجِبُ الْجَنَّةَ إِطْعَامُ الطَّعَامِ وَإِفْشَاءُ السَّلَامِ»