Mishkat al-Masabih 568
وَعَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ قَالَ: سَأَلْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَي الْأَعْمَال أحب إِلَى الله قَالَ: «الصَّلَاةُ لِوَقْتِهَا» قُلْتُ ثُمَّ أَيُّ قَالَ: «بِرُّ الْوَالِدَيْنِ» قُلْتُ ثُمَّ أَيُّ قَالَ: «الْجِهَادُ فِي سَبِيلِ اللَّهِ» قَالَ حَدَّثَنِي بِهِنَّ وَلَوِ استزدته لزادني
From ʿAbdullah ibn Masʿud, who said: I asked the Prophet ﷺ: "Which deed is most beloved to Allah?" He said: "Prayer at its time." I said: "Then which?" He said: "Kindness to parents." I said: "Then which?" He said: "Jihad in the way of Allah." He said: He told me these, and if I had asked him for more, he would have told me more.