While mapping out his genealogy of Ṣaḥīḥ al-Bukhārī, Ibn Ḥajar al-ʿAsqalānī (d. 852 AH) identifies nine routes of transmission from Muḥammad ibn Yūsuf al-Firabrī (d. 320 AH), the primary transmitter of the Ṣaḥīḥ from its author. These routes further multiply as the transmission spreads out in every successive generation. The invention of the printing press has allowed for the production of countless identical copies of a book with ease, but that is a privilege unheard of not too long ago. Hence, due to a range of factors related to methodology, memory, comprehension, attendance, and scribal oversight, the recensions of the Ṣaḥīḥ naturally differed in their details. In the 7th century AH, one Levantine scholar set out to collate the variants of the major recensions to produce the most accurate rendition of the work.
The legendary audition of Ṣaḥīḥ al-Bukhārī in Damascus around the year 666 AH headed by the renowned Ḥadīth scholar, Sharaf al-Dīn al-Yūnīnī (d. 701 AH), with the aid of the celebrated linguist, Ibn Mālik (d. 672 AH), in a gathering of scholars who utilized critically acclaimed manuscripts of the Ṣaḥīḥ for cross-referencing is an awe-inspiring episode of literature preservation in human history. Al-Yūnīnī’s role in latter-day scholarship on the Ṣaḥīḥ by collating the variants of its major recensions into one manuscript cannot be overemphasized. Starting with al-Yūnīnī’s biography, this article will explore this phenomenal project on the Ṣaḥīḥ. Three folios from manuscripts related to the Yūnīniyyah have been appended for the purpose of illustration.
Born in the year 621 AH, Abū al-Ḥusayn Sharaf al-Dīn ʿAlī belonged to a scholarly family that hailed from a small town in the region of Baʿlabakk known as Yūnīn—hence, the sobriquet al-Yūnīnī. With the Reconquista in the West and the Mongol conquest of the Eastern Islamic lands, the political landscape during al-Yūnīnī’s day was highly turbulent. His father was Taqī al-Dīn al-Yūnīnī (d. 658 AH), a Hanbalī jurist and Ḥadith scholar, and his brother was the renowned historian Quṭb al-Dīn al-Yūnīnī (d. 726 AH). Naturally, his educational upbringing was exceptional. From a tender age, he frequented the gatherings of experts and enjoyed the tutelage of over seventy teachers. In the constant pursuit of education, he traveled repeatedly to hubs of knowledge like Damascus and Egypt where he studied under Ibn al-Ṣalāḥ (d. 643 AH) and al-Mundhīrī (d. 656 AH), respectively.
It goes without saying that his prominence in the field of Ḥadīth drew countless students to his study circle. Notable among his lengthy list of students are Taqī al-Dīn Ibn Taymiyyah (d. 728 AH), al-Qāsīm al-Birzālī (d. 739 AH), and Shams al-Dīn al-Dhahabī (d. 748 AH). Without exception, his biographers only have positive things to say about him. Al-Ṣafadī (d. 764 AH) describes him as “unparalleled” and al-Dhahabī states that he was “the teacher of the scholars.” His oeuvre comprises merely of a Mashyakhah and a collection of elevated ḥadīths, but his major contribution to the academic world was his extraordinary work on Ṣaḥīḥ al-Bukhārī. In the span of one year, he cross-referenced the Ṣaḥīḥ with its various recensions and then dictated the entire work eleven times.
On Friday the 5th of Ramaḍān, 701 AH, after entering a local library, al-Yūnīnī was physically assaulted by a deranged assailant, which eventually led to his demise several days later at the age of 80.Having received his first authorization as early as four and spent his final days surrounded by books, al-Yūnīnī’s life was a personification of the famous adage: acquire knowledge from the cradle to the grave—Allah have mercy on his soul.
Al-Yūnīnī’s Project on the Ṣaḥīḥ
Around the year 666 AH in Damascus, al-Yūnīnī convened a gathering of scholars over 71 sessions in order to prepare a critically evaluated manuscript of Ṣaḥīḥ al-Bukhārī. For this purpose, al-Yūnīnī obtained five valuable manuscripts (nuskhahs) of the Ṣaḥiḥ, making one of them the mother-text and alluding to variations in the remainder through symbols. By stipulating one manuscript as the mother-text, al-Yūnīnī did not make changes to the main text even if he deemed an alternative variant to be more accurate, in which case he noted the variant in the margins and then marked it as more accurate. He prefaces his work with an introduction where he outlines his modus operandi.
The mother-text was based on ʿAbd al-Ghanī al-Maqdisī’s manuscript,  which in turn used Abū al-Waqt’s manuscript as an exemplar and contained other variants. Until the 9th century, al-Maqdisī’s manuscript was the most authoritative for the Levantines, with attendance signatures from al-Mundhirī (d. 656 AH), al-Dhahabī, and al-ʿAlāʾī (d. 761 AH). Al-Yūnīnī had Ibn Zayd (d. 702 AH), a qualified scribe known for his calligraphic handwriting, pen a copy of this manuscript to use as the mother-text for the aforementioned cross-analysis. The following manuscripts were then utilized to note variants:
Abū Dharr al-Harawī (d. 434 AH), for which he used the symbol hā’. Given that Abū Dharr narrates via al-Mustamlī (d. 376 AH), al-Ḥammuwayh (d. 381 AH), and al-Kushmīhanī (d. 389 AH) from al-Firabrī, further symbols distinguish the source of the variant.
ʿAbd Allāh al-Aṣīlī (d. 392 AH) via Abū Zayd al-Marwazī (d. 371 AH) from al-Firabrī, for which he used the symbol ṣād.
Ibn ʿAsākir (d. 571 AH) via multiple routes leading back to al-Firabrī, for which he used the symbol sīn.
Abū Saʿd al-Samʿānī (d. 562 AH) via Abū al-Waqt (d. 553 AH) via al-Dāwūdī (d. 467 AH) via al-Ḥammuwayh from al-Firabrī, for which he used the symbol ẓāʾ, interestingly on account of al-Samʿānī’s precision and phenomenal memory (ḥifẓ).
Other symbols include lā to indicate the omission of something in a given source and ṣād/ḥā’ to show the preferability of a variant. By way of illustration, some of the variants in figure 1 are noted as follows: hā’ and sīn (Abū Dharr and Ibn ʿAsākir) contain rasūl Allāh instead of al-nabī; ṣād (al-Aṣīlī) contains akhbaranā instead of akhbaranī; and hā’, ṣād, sīn, ṭā (Abū Dharr, al-Aṣīlī, Ibn ʿAsākir, and Abū al-Waqt) omit hādhā and this is accompanied by ṣād/ḥā’ (i.e., the most accurate version). It is worth noting that Abū Dharr collating the variants of his three teachers from al-Firabrī into one manuscript is the first attempt at doing what, centuries later, al-Yūnīnī’s project aimed to accomplish, albeit in a much larger scale. 
Ibn Mālik’s Role
As part of his project, al-Yūnīnī’s sought the expertise of Ibn Mālik (d. 672 AH), the celebrated Andalusian grammarian, who attended the sessions, playing a crucial role in explicating abstruse linguistic issues. On the nature of Ibn Mālik’s role, al-Yūnīnī, who was the primary reciter, writes in his concluding remarks that the cross-analysis and amendments were completed in the presence of Ibn Mālik, who “keenly observed my recitation and acutely noted my enunciation. I amended and marked as authoritative whatever he selected, preferred, and corrected. And I marked the words that he said lend themselves to two or three desinential inflections (iʿrāb) per his instruction and preference.”
Ibn Mālik writes, “Whenever they came across a complicated passage, I explained what I deemed correct and vowelized it based on my knowledge of Arabic.” Passages that required detailed grammatical exegesis were relegated to an independent treatise entitled “Shawāhid al-Tawḍīḥ wa al-Taṣḥīḥ li Mushkilāt al-Jāmiʿ al-Ṣaḥīḥ.” The said treatise comprises 71 sections based on the number of sessions he supervised. For instance, under section 27 on the ḥadīth about hastening funerals so that the deceased may immediately receive their compensation, Ibn Mālik states that the pronoun in ilayhā should be masculine (i.e., ilayhi) because it refers back to the word khayr. Citing Qurʿānic verses, ḥadīths, and Arabic poetry, he explains that it is grammatically correct to use a feminine pronoun to refer back to a masculine word when what is intended is feminine. Although the word khayr is masculine, what is intended is raḥmah, ḥusnā, or yusrā, all of which are feminine.
As is clear from a close reading of Shawāhid al-Tawḍīḥ and his comments noted in the margins of al-Yūnīnī’s manuscript, Ibn Mālik did not alter any alleged grammatical errors in the text of Ṣaḥīḥ al-Bukhārī. He only vowelized and explicated abstruse passages. Even passages that ostensibly conflicted with conventional grammar laws, once proven that they were part of the transmission, he provided explanations for them. That being said, not every passage ostensibly conflicted with conventional grammar laws. In many instances, he simply presented the grammatical origins of passages that already conformed to these laws, highlighted points of disagreement among grammarians, and used certain passages as a pretext to elucidate concepts that were not adequately addressed in other books.
Subsequent Scholarship on the Exemplar
During and after al-Yūnīnī’s lifetime, his manuscript was accessible and countless secondary copies were written. It was then transferred as an endowment to the Mamlūk official ʿAlāʾ al-Dīn Aqbughā’s (d. 843 AH) madrasah in Cairo, during which time al-Qasṭallānī (d. 923 AH) used it for his commentary on the Ṣaḥīḥ, Irshād al-Sārī. After remaining in the possession of Muḥammad al-Rūdānī (d. 1094 AH), the author of Jamʿ al-Fawāʾid, it passed into the hands of the Meccan Ḥadīth expert, ʿAbd Allah ibn Sālim al-Baṣrī (d. 1134 AH), who is on record for spending twenty years in meticulously refining and cross-referencing his personal copy of Ṣaḥīḥ al-Bukhārī with multiple manuscripts including the Yūnīniyyah.
In 1893 CE, the Ottoman Sultan, ʿAbd al-Ḥamīd II (d. 1918), issued an imperial decree to the Cairene publishing house al-Maṭbaʿah al-Amīriyyah to print a meticulously evaluated edition of the Ṣaḥīḥ.Using a range of invaluable manuscripts, particularly the Yūnīniyyah that was sent from the imperial library of Istanbul for this purpose,  the project was complete by 1895 CE and the first edition of the work was released in nine volumes. A committee of 16 Ḥadīth scholars from al-Azhar—under the auspices of the Grand Shaykh of al-Azhar, Ḥassūnah al-Nawāwī—were then tasked with reviewing the work. It is uncertain whether the Yūnīniyyah remained in Cairo after the revision or was returned to Istanbul. Its exact whereabouts are currently unknown.
Be that as it may, there are multiple secondary copies of the manuscript on par or even superior to the original, as al-Qasṭallānī explains in respect to Muḥammad al-Ghazūlī’s (d. 777 AH) copy. Perhaps the most valuable secondary copy is that of Shihāb al-Dīn al-Nuwayrī (d. 733 AH), who had written with great accuracy at least eight copies of al-Yūnīnī’s manuscript. Another valuable and accessible secondary source is al-Qasṭallānī’s Irshād al-Sārī, which utilized both the original manuscript as well as excellent secondary copies.
Given that Ṣaḥīḥ al-Bukhārī plays such a pivotal role in documenting the ḥadīths of the Prophet (peace and blessings be upon him), it comes as no surprise that scholars have historically given unprecedented attention to maintaining its textual integrity. In the 7th century, the Damascene Ḥadīth expert, Sharaf al-Dīn al-Yūnīnī, carried out a unique project, ensuring that this task was accomplished in a manner that would adorn the annals of history. Al-Yūnīnī’s effort in preserving the various recensions of the Ṣaḥīḥ, and by extension the Ṣaḥīḥ itself, although highly laudable, is only part of successive, collective efforts by Muslim scholars since the students of al-Bukhārī to ensure that his magnum opus remains unadulterated. There is much that can be said about al-Yūnīnī’s project, but it is hoped that the foregoing discussion will help students to develop a basic understanding and appreciation of his efforts as well as subsequent scholarship that built upon his work.