When he was seven years old, he went to Haramain Sharifain in the company of Hazrat Sirri Saqti (Radiallahu Ta’ala Anhu). When they reached the Haram Shareef, four hundred Ulama were seated there, discussing the topic of Shukr (Gratefulness). All of the Ulama presented their views during this sitting. Hazrat Sirri Saqti (Radiallahu Ta’ala Anhu) then turned to Hazrat Junaid Baghdadi (Radiallahu Ta’ala Anhu) and said, “O Junaid,
you too should say something.” He lowered his sight for a few moments, and then said, “Shukr is this, that you should not be disobedient through whatever bounties Allah has blessed you with,
and you should not use it as a means of disobedience and causing distress.” On hearing this, all the Ulama said together, “O coolness of our eyes, whatever you have said is the truth,
and you are honest in your words, we cannot say better than what you have said.” Hazrat Sirri Saqti (Radiallahu Ta’ala Anhu) said, “O my dear son, from where did you learn such exemplary words?
”Hazrat Junaid Baghdadi (Radiallahu Ta’ala Anhu) said, “This is through the blessing of your esteem companionship.” [Masaalikus Saalikeen]