حَدَّثَنَا أَحْمَدُ بْنُ حَنْبَلٍ، حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ عُبَيْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ، عَنِ ابْنِ عَبَّاسٍ، ‏:‏ أَنَّ أَبَا بَكْرٍ، أَقْسَمَ عَلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ لَهُ النَّبِيُّ صلى الله عليه وسلم ‏:‏ ‏"‏ لاَ تُقْسِمْ ‏"‏ ‏.‏
Translation
The tradition mentioned above has also been transmitted by Ibn 'Abbas through a different chain of narrators. In this version there is no mention of the word qasam (oath). It has the words

"He did not inform him."