One who sees Ishmael in a dream - his prayer is heard, as it is said, "And as for Ishmael I have heard you" (Genesis 17:20). And these words apply to Ishmael the son of Abraham, but as for Ishmael himself [any ordinary person of that name], it means nothing at all.
Seeing Ishmael in a Dream and the Prayer That Is Heard
Yalkut Shimoni on Torah 82:7
הָרוֹאֶה יִשְׁמָעֵאל בַּחֲלוֹם תְּפִלָּתוֹ נִשְׁמַעַת, שֶׁנֶּאֱמַר וּלְיִשְׁמָעֵאל שְׁמַעֲתִּיךָ. וְהַנֵי מִילֵי יִשְׁמָעֵאל בֶּן אַבְרָהָם, אֲבָל יִשְׁמָעֵאל מַמָּשׁ וְלֹא כְלוּם.