There are 134 hymns of Sheik Farid incorporated in the Guru Granth Sahib. Many Sikh scholars ascribe them to Farid Shakarganj (1173 – 1265AD or 569-664 AH) of Pak Pattan, a disciple of the Sufi Qutbuddin Bakhtiyar Kaki. The tenth in succession to his post was Sheikh Brahm (Ibrahim), also known as “Farid Sani” or “Farid the 2nd”, and it is this Farid who Guru Nanak Dev met on two occasions.
Max Arthur Macauliffe who has been described as a ‘Matchless Scholar of Sikh Lore’ states that hymns ascribed to Farid are compositions by the latter Farid, whereas others have ascribed them to Farid Shakarganj.
There are still other scholars who believe that the hymns were composed by different Sufis of the Pak Pattan centre, all using the poetic name Farid as was the custom in those days as the leader of an order chose his most suitable devotee to take his place shortly before his death.