It is narrated from Imam Baqer (AS) who said: In the last moments of his life, Imam Sajjad (AS) hugged me close to him and said: I recommend you what my father Imam Hussain (AS) recommended me at the time of his martyrdom and said, his father recommended him: My child, avoid oppressing the person who has no one to help him against you except God [1]. In another narration, Imam Baqer (AS) said: In the last moments of his life, my father hugged me and said: I recommend you what my father recommended me at the time of his martyrdom: I recommend you to be steadfast in the way of the truth even though it can be bitter [2].
[1] Alkafi, Vol. 2, page 331, Babul Dhulm, Hadith 5.
[2] Alkafi, Vol. 2, page 91, Babul Nasr, Hadith 13.
source : shafaqna