When Umar was stabbed, he began showing signs of pain. Ibn Abbas said to him, as if to console him, "Commander of the Faithful, even if that is so, you accompanied the Messenger of Allah ﷺ and were an excellent companion to him, then you parted from him while he was pleased with you. Then you accompanied Abu Bakr and were an excellent companion to him, then you parted from him while he was pleased with you. Then you accompanied their companions and were an excellent companion to them, and if you part from them, you will part from them while they are pleased with you."Umar replied, "As for what you mentioned about my companionship with the Messenger of Allah ﷺ and his being pleased with me, that is only a favor from Allah the Exalted bestowed upon me. As for what you mentioned about my companionship with Abu Bakr and his being pleased with me, that too is only a favor from Allah, glorified be His mention, bestowed upon me. As for the distress you see in me, it is on account of you and your companions. By Allah, if I possessed enough gold to fill the earth, I would ransom myself with it from the punishment of Allah before facing it."
لما طعن عمر جعل يألم، فقال له ابن عباس، وكأنه يحرعه: يا أمير المؤمنين، ولئن كان ذلك، لقد صحبت رسول الله ﷺ فأحسنت صحبته، ثم فارقته وهو عنك راض، ثم صحبت أبا بكر فأحسنت صحبته، ثم فارقته وهو عنك راض، ثم صحبت صحبتهم فأحسنت صحبتهم، ولئن فارقتهم لتفارقنهم وهم عنك راضون. قال: أما ما ذكرت من صحبة رسول الله ﷺ ورضاه فإنما ذلك من الله تعالى من به علي، وأما ما ذكرت من صحبة أبي بكر ورضاه فإنما ذلك من الله جل ذكره من به علي، وأما ما ترى من جزعي فهو من أجلكم وأجل أصحابك، والله لو أن لي طلاع الأرض ذهبا لافتديت به من عذاب الله عز وجل قبل أن أراه.
Bukhari narrated it in the Virtues of the Companions (3692) from Salit bin Muhammad, who said, Ismail bin Ibrahim narrated to us, who said, Ayub narrated to us, from Ibn Abu Mulayka, from Miswar bin Makhrama, and he mentioned it.