Considering that two hundred years have passed between the first manuscripts of the Shahnameh and the death of its great poet Ferdowsi, and that the number of verses in the manuscripts is between forty-eight thousand and more than sixty thousand; The researchers of this great book do not agree between what is actually Ferdowsi's poem and what are called additional verses and stories. Probably there are some verses that have been included in the text due to various considerations. One of these considerations is the political issues of Ferdowsi's era. Therefore, many believe that praises of Mahmud in the Shahnameh have no foundation. One of these praises is a dream that is expressed by Ferdowsi at the beginning of the story of Gustasp, and in a dream that mostly includes the praise of Mahmoud Ghaznavi, Daqiqi asks him to include his poems in the Shahnameh. Although this dream can be seen in all printed versions of the Shahnameh, some points in it question the correctness of its attribution to Ferdowsi. This essay examines the topic in an in-text analysis.