Pseudo Philo Biblical Antiquities 18:5
4 And in the night God said unto him: Who are the men that are come unto thee? And Balaam said: Wherefore, Lord, dost thou tempt the race of man? They therefore cannot sustain it, for thou knewest more than they, all that was in the world, before thou foundedst it. And now enlighten thy servant if it be right that I go with them. 5 And God said to him: Was it not concerning this people that I spake unto Abraham in a vision saying: Thy seed shall be as the stars of heaven, when I raised him up above the firmament and showed him all the orderings of the stars, and required of him his son for a burnt offering? and he brought him to be laid upon the altar, but I restored him to his father. And because he resisted not, his offering was acceptable in my sight, and for the blood of him did I choose this people. And then I said unto the angels that work subtilly: Said I not of him: To Abraham will I reveal all that I do? 6 Jacob also, when he wrestled in the dust with the angel that was over the praises, did not let him go until he blessed him. And now, behold, thou thinkest to go with these, and curse them whom I have chosen. But if thou curse them, who is he that shall bless thee?
Apocalypse of Abraham 20:3
1 And the Eternal Mighty One said to me, “Abraham, Abraham!” 2 And I said, “Here am I!” 3 And he said, “Look from on high at the stars which are beneath you and count them for me and tell me their number!” 4 And I said, “Would I be able? For I am [but] a man.” 5 And he said to me, “As the number of the stars and their host, so shall I make your seed into a company of nations, set apart for me in my lot with Azazel. 6 And I said, “Eternal Mighty One! Let your servant speak before you and let your fury not rage against your chosen one.
Notes and References
"... Genesis Rabbah (44:12) also interprets the reference to YHWH bringing Abram 'outside' in an overtly cosmological manner, in a way that appears both to presuppose and to censure his use of astrology outright (Such an interpretation of the lifting above the firmament is, in fact, represented in the so-called Midrash Aggadah of Solomon Buber (based on a Mediaeval manuscript from Aleppo), which explicitly says (ad loc.) that although most humans are "under their constellation" (bënê ädäm tahat mazzäläm) which 'therefore judges them' (lëpikäk hammazzäl dän ötäm), Abra(ha)m is "above the dome of the firmament, in which the constellations are" (lëmalá mikktppat häräqta sehammazzäl säm), and therefore, presumably, exempt from astrological influence) ..."
Wikander, Ola "Go Out from Your Sign": Rashi to Genesis 15:5 as a Reference to Astrological Primary Direction - Its Background in Rabbinic Literature and Parallels in Abraham bar Hiyya (pp. 1-5) Old Testament Essays Vol.33, No. 3, 2020