The Messenger of Allah ﷺ said, "Abdullah, do not be like so-and-so. He used to pray during the night, then he abandoned the night prayer."
حدثنا يحيى بن آدم حدثنا أبو معاوية وابن مبارك عن الأوزاعي عن يحيى بن أبي كثير عن أبي سلمة بن عبد الرحمن
قال رسول الله ﷺ يا عبد الله لا تكونن مثل فلان كان يقوم الليل فترك قيام الليل
Its isnad is sahih. Bukhari (3:31), Nasai (1:253), and Ibn Majah (1:206-207) all narrated it, all of them through Uzai, with this isnad. Muslim (1:320) and Muhammad bin Nasr Marwazi in Qiyam al-Layl (p. 19) narrated it through Uzai, from Yahya bin Abu Kathir, from Umar bin Hakam bin Thawban, from Abu Salama, from Abdullah bin Amr. This might give the impression that Yahya bin Abu Kathir did not hear it directly from Abu Salama, but rather heard it from Umar bin Hakam, from him, which would make it disconnected by the omission.However, the narration following this one, and Bukhari's narration, both explicitly state direct hearing. Uzai said, Yahya bin Abu Kathir told us, he said, Abu Salama bin Abdul-Rahman told me, he said, Abdullah bin Amr bin As told me. Then Bukhari pointed to the narration in which Umar bin Hakam is added to the isnad, saying, Hisham said, Ibn Abu Ashrin told us, he said, Uzai told us, he said, Yahya told us, from Umar bin Hakam bin Thawban, he said, Abu Salama told me, the same as this. Amr bin Abu Salama followed him in narrating from Uzai. Both isnads are connected.Hafiz said (31), the author's purpose in citing this comment was to draw attention to the fact that the addition of Umar bin Hakam, that is, Ibn Thawban, between Yahya and Abu Salama, is among the additions found within otherwise connected chains of transmission, because Yahya explicitly stated that he heard it directly from Abu Salama, and had there been an intermediary between them, he would not have used the explicit term of direct narration.Then he said (p. 32), the apparent practice of Bukhari favors the narration of Yahya from Abu Salama directly, while the apparent practice of Muslim contradicts this, since he confined himself to the narration with the addition. The view favored by Abu Hatim, Daraqutni, and others is that of Bukhari. A group of Uzai's companions followed both versions of the narration, so the discrepancy originates from him. It seems he used to narrate it both ways, and this can be explained by supposing that Yahya first received it from Abu Salama through an intermediary, then later met him and heard it directly from him, so he would narrate it both ways.