Abu Mamar reported,

Abdullah commented on the verse "seeking the means of access to their Lord" [Isra 17:57], saying that there were people among mankind who used to worship certain jinn. The jinn then embraced Islam, while those people clung to their old religion.Ashjai added, reporting from Sufyan from Amash, the verse "Say, call upon those whom you claimed" [Isra 17:56].

Bukhari 4714

Sahih

حدثني عمرو بن علي حدثنا يحيى حدثنا سفيان حدثني سليمان عن إبراهيم

عن أبي معمر

عن عبد الله {إلى ربهم الوسيلة} قال كان ناس من الإنس يعبدون ناسا من الجن فأسلم الجن وتمسك هؤلاء بدينهم زاد الأشجعي عن سفيان عن الأعمش {قل ادعوا الذين زعمتم}

البخاري 4714صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
Say, 'Call upon those you claim besides Him, for they do not possess the ability to remove adversity from you or to change it'
Numbering
Darussalam 4714
Bukhari 4714