Sahih Muslim, Book 44, Hadith 36 (Muslim 6139)

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.