Reference for Berakhot 112:12
הרואה כלב בחלום ישכים ויאמר (שמות יא, ז) ולכל בני ישראל לא יחרץ כלב לשונו קודם שיקדמנו פסוק אחר (ישעיהו נו, יא) והכלבים עזי נפש הרואה ארי בחלום ישכים ויאמר (עמוס ג, ח) אריה שאג מי לא יירא קודם שיקדמנו פסוק אחר (ירמיהו ד, ז) עלה אריה מסבכו
Who dreams of a dog should on rising say, "But against any of the children of Israel shall not a dog whet his tongue" (Exod. xi. 7), before another verse occurs to him, viz. : "Yea, the dogs are greedy" (Is. Ivi. 11). Who dreams of a lion should on rising say, "The lion hath roared, who will not fear?" (Amos iii. 8), before another verse occurs to him, viz. : "A lion is gone up from his thicket" (Jer. iv. 7). [is gone up] [a lion from his thicket] Who dreams of shaving should on rising say, "And [Joseph] shaved himself and changed his raiment" (Gen. xli. 14), before another verse occurs to him, viz. : "If I be shaven, then my strength will go from me" (Judges xvi. 17).