Sahih Muslim #2399
The Book of the Merits of the Companions 44:36
Ibn Umar reported Umar as saying:
My lord concorded with (my judgments) on three occasions. In case of the Station of Ibrahim, in case of the observance of veil and in case of the prisoners of Badr.