Language:
كتاب أحاديث الأنبياء
60  
Prophets
(8)
Chapter: The Statement of Allah Taa'la: "...And Allah did take Ibrahim as a Khalil."
(8)
بَابُ قَوْلِ اللَّهِ تَعَالَى: {وَاتَّخَذَ اللَّهُ إِبْرَاهِيمَ خَلِيلاً}
Sahih al-Bukhari 3360

Narrated `Abdullah:

When the Verse:--"It is those who believe and do not confuse their belief with wrong ( i.e. joining others in worship with Allah" (6.83) was revealed, we said, "O Allah's Messenger (ﷺ)! Who is there amongst us who has not done wrong to himself?" He replied, "It is not as you say, for 'wrong' in the Verse and 'do not confuse their belief, with wrong means 'SHIRK' (i.e. joining others in worship with Allah). Haven't you heard Luqman's saying to his son, 'O my son! Join not others in worship with Allah, verily joining others in worship with Allah is a great wrong indeed." (31.13)

حَدَّثَنَا عُمَرُ بْنُ حَفْصِ بْنِ غِيَاثٍ، حَدَّثَنَا أَبِي، حَدَّثَنَا الأَعْمَشُ، قَالَ حَدَّثَنِي إِبْرَاهِيمُ، عَنْ عَلْقَمَةَ، عَنْ عَبْدِ اللَّهِ ـ رضى الله عنه ـ قَالَ لَمَّا نَزَلَتِ ‏{‏الَّذِينَ آمَنُوا وَلَمْ يَلْبِسُوا إِيمَانَهُمْ بِظُلْمٍ‏}‏ قُلْنَا يَا رَسُولَ اللَّهِ أَيُّنَا لاَ يَظْلِمُ نَفْسَهُ قَالَ ‏"‏ لَيْسَ كَمَا تَقُولُونَ ‏{‏لَمْ يَلْبِسُوا إِيمَانَهُمْ بِظُلْمٍ‏}‏ بِشِرْكٍ، أَوَلَمْ تَسْمَعُوا إِلَى قَوْلِ لُقْمَانَ لاِبْنِهِ ‏{‏يَا بُنَىَّ لاَ تُشْرِكْ بِاللَّهِ إِنَّ الشِّرْكَ لَظُلْمٌ عَظِيمٌ ‏}‏‏"‏‏.‏
Reference : Sahih al-Bukhari 3360
In-book reference : Book 60, Hadith 35
USC-MSA web (English) reference : Vol. 4, Book 55, Hadith 580
  (deprecated numbering scheme)