וַיֹּ֤אמֶר פַּרְעֹה֙ אֶל־יוֹסֵ֔ף חֲל֣וֹם חָלַ֔מְתִּי וּפֹתֵ֖ר אֵ֣ין אֹת֑וֹ וַאֲנִ֗י שָׁמַ֤עְתִּי עָלֶ֙יךָ֙ לֵאמֹ֔ר תִּשְׁמַ֥ע חֲל֖וֹם לִפְתֹּ֥ר אֹתֽוֹ׃
Y dijo Faraón á José: Yo he tenido un sueño, y no hay quien lo declare; mas he oído decir de ti, que oyes sueños para declararlos.
Rashi on Genesis
תשמע חלום לפתר אותו — means thou payest heed to and UNDERSTANDEST A DREAM TO INTERPRET IT.
Rashbam on Genesis
תשמע חלום, you understand a dream and are able to explain its meaning.
Sforno on Genesis
תשמע חלום לפתור אותו, that you understand the principles involved in dreams so that you can use your knowledge to interpret them, not just by a haphazard guess.