Sunan Abi Dawud, Hadith 5162

Abu Musa said that he came to ‘Umar and asked permission three times saying : Abu Musa asks permission, al-Ash’ari ask permission, and ‘Abd Allah b. Qais asks permission, but it was not granted to him. So he went away and ‘umar sent for him saying: what did you return? He replied: The Messenger of Allah (May peace be upon him) said: When one of you asks permission three times and it is not granted to him, he should go away. He said: Establish the proof of it. He went, came back, and said; This is Ubayy. Ubayy said: ‘Umar, do not be an agony for the Companions of the Messenger of Allah (peace be upon him). ‘Umar said : I shall not be an agony for the Companions of the Messenger of Allah.

حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ دَاوُدَ، عَنْ طَلْحَةَ بْنِ يَحْيَى، عَنْ أَبِي بُرْدَةَ، عَنْ أَبِي مُوسَى، أَنَّهُ أَتَى عُمَرَ فَاسْتَأْذَنَ ثَلاَثًا فَقَالَ يَسْتَأْذِنُ أَبُو مُوسَى يَسْتَأْذِنُ الأَشْعَرِيُّ يَسْتَأْذِنُ عَبْدُ اللَّهِ بْنُ قَيْسٍ فَلَمْ يُؤْذَنْ لَهُ فَرَجَعَ فَبَعَثَ إِلَيْهِ عُمَرُ مَا رَدَّكَ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ يَسْتَأْذِنُ أَحَدُكُمْ ثَلاَثًا فَإِنْ أُذِنَ لَهُ وَإِلاَّ فَلْيَرْجِعْ ‏" ‏ ‏.‏ قَالَ ائْتِنِي بِبَيِّنَةٍ عَلَى هَذَا ‏.‏ فَذَهَبَ ثُمَّ رَجَعَ فَقَالَ هَذَا أُبَىٌّ فَقَالَ أُبَىٌّ يَا عُمَرُ لاَ تَكُنْ عَذَابًا عَلَى أَصْحَابِ رَسُولِ اللَّهِ صلى الله عليه وسلم ‏.‏ فَقَالَ عُمَرُ لاَ أَكُونُ عَذَابًا عَلَى أَصْحَابِ رَسُولِ اللَّهِ صلى الله عليه وسلم ‏.‏

sunnah.com

also referenced under: Hadith 5181 (DarusSalam)