[Machine] Make between me and you a man from the companions of the Prophet ﷺ , so they chose Ubay ibn Ka'b between them. He ruled in favor of Abbas over Umar, so Umar said, "No one among the companions of the Prophet ﷺ is more audacious towards me than you." Ubay ibn Ka'b said, "Or I am more sincere to you than others." Then he said, "O Amir al-Mu'minin, have you not heard the narration of Dawood that Allah commanded him to build Bayt al-Maqdis (Jerusalem) and he entered the house of a woman without her permission, so when the men were prevented from entering, Allah prevented him from building it." Dawood said, "O Lord, if You prevent me from building it, then place it in my offspring." Abbas said, "Didn't you rule in my favor and it became mine?" Umar said, "Yes." Abbas said, "Then I bear witness that I have made it for Allah."
اجْعَلْ بَيْنِي وَبَيْنَكَ رَجُلًا مِنْ أَصْحَابِ النَّبِيِّ ﷺ فَجَعَلَا بَيْنَهُمَا أُبِيَّ بْنَ كَعْبٍ فَقَضَى لِلْعَبَّاسِ عَلَى عُمَرَ فَقَالَ عُمَرُ مَا أَحَدٌ مِنْ أَصْحَابِ النَّبِيِّ ﷺ أَجْرَأَ عَلَيَّ مِنْكَ فَقَالَ أُبِيُّ بْنُ كَعْبٍ أَوْ أَنْصَحَ لَكَ مِنِّي ثُمَّ قَالَ يَا أَمِيرَ الْمُؤْمِنِينَ أَمَا بَلَغَكَ حَدِيثُ دَاوُدَ أَنَّ اللهَ ﷻ أَمَرَهُ بِبِنَاءِ بَيْتِ الْمَقْدِسِ فَأَدْخَلَ فِيهِ بَيْتَ امْرَأَةٍ بِغَيْرِ إِذْنِهَا فَلَمَّا بَلَغَ حُجَزَ الرِّجَالِ مَنَعَهُ اللهُ بِنَاءَهُ قَالَ دَاوُدُ أَيْ رَبِّ إِنْ مَنَعْتَنِي بِنَاءَهُ فَاجْعَلْهُ فِي خَلَفِي فَقَالَ الْعَبَّاسُ أَلَيْسَ قَدْ قَضَيْتَ لِي بِهَا وَصَارَتْ لِي؟ قَالَ بَلَى قَالَ فَإِنِّي أُشْهِدُكَ أَنِّي قَدْ جَعَلْتُهَا لِلَّهِ