He was commanded to glorify Allah after all the prayers, meaning His statement, "and after the prostration" [Qaf 50:40].
أمره أن يسبح في أدبار الصلوات كلها، يعني قوله تعالى: {وأدبر السجود}
Bukhari reported it in the tafsir (4852), from Adam, who said, Waraqa narrated to us, from Ibn Abu Najeeh, who said, Ibn Abbas said, and he mentioned it.