"As for Me, behold, My covenant is with you" (Genesis 17:4). Abraham did not know from where he should circumcise himself. At the moment when the scorpion's sting struck him, the Holy One, blessed be He, circumcised him. "And you shall be the father of a multitude of nations" (Genesis 17:4): everyone who is circumcised and becomes a convert, you are called his father. From here Rabbi Judah used to say: a convert brings first-fruits and recites, "I declare this day... which You gave to our fathers" (Deuteronomy 26:3), because Abraham our father is a father to all converts.
How Abraham Was Circumcised and Became Father of All Converts
Midrash Aggadah, Genesis 17:4
אני הנה בריתי אתך. לא ידע אברהם מהיכן ימול בשעה שנפל עיקצתו (הקרקע) [העקרב] ומלו הקב"ה: והיית לאב המון גוים. כל מי שימול ויתגייר תקרא אתה אביו, מיכן היה ר' יהודה אומר גר מביא ביכורים וקורא הגדתי היום אשר נתת לאבותינו, לפי שאברהם אבינו אב לכל הגרים: