From Sahih Muslim (Hadith 6206):
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
Reference: Muslim 6206