It is narrated from Sayyiduna Abdullah bin Salam (may Allah be pleased with him) that he said: "We discussed among ourselves and said: Which of you will go to the Messenger of Allah (peace and blessings be upon him) and ask which deeds are most beloved to Allah Almighty? But none of us had the courage to stand up. Then the Messenger of Allah (peace and blessings be upon him) sent a man to us, one by one, and gathered all of us. So we came, pointing at one another. Then he (peace and blessings be upon him) recited to us the surah 'Whatever is in the heavens and whatever is on the earth glorifies Allah, and He is the Almighty, the All-Wise.' 'O you who believe, why do you say what you do not do?' from beginning to end." The narrator said: "Sayyiduna Abdullah bin Salam (may Allah be pleased with him) recited this surah to us from beginning to end." Hilal (may Allah have mercy on him) said: "Ata (may Allah have mercy on him) recited this surah to us from beginning to end." Yahya (may Allah have mercy on him) said: "Hilal (may Allah have mercy on him) recited this surah to us from beginning to end." Al-Awza'i (may Allah have mercy on him) said: "Yahya (may Allah have mercy on him) recited this surah to us from beginning to end."
In one route, the narrator stated it with doubt, saying that Abu Salamah (may Allah have mercy on him) narrated it from Sayyiduna Abdullah bin Salam (may Allah be pleased with him).
Imam Ahmad (may Allah have mercy on him) narrated this hadith through Ya'mar and Yahya bin Adam, from Ibn al-Mubarak (may Allah have mercy on him), and Ya'mar's narration is more complete.
In the narration of Yahya bin Adam, Ibn al-Mubarak (may Allah have mercy on him) narrated it from al-Awza'i (may Allah have mercy on him), from Yahya bin Abi Kathir (may Allah have mercy on him), from Abu Salamah (may Allah have mercy on him) (or through Ata bin Yasar (may Allah have mercy on him) from Abu Salamah (may Allah have mercy on him)), from Sayyiduna Abdullah bin Salam (may Allah be pleased with him), and Hilal (may Allah have mercy on him) is not mentioned in it.