At a glanceExisting decipherment · complete
- From
- Ibn al-Durayhim
- To
- Al-ʿAlāʾī, the patron
- Where
- University of Pennsylvania, Kislak Center, LJS 51. f. 61r l.3-11 (image 0126); f. 61v l.1-4 (image 0127)
- How the text was obtained
- The manuscript preserves the full reading. The Arabic below is the corpus transcription, with doubtful text marked in the source.
Ibn al-Durayhim’s Cipher Casebook (Penn LJS 51) and cipher index
01 Manuscript and ciphertext


Open the full scans: Manuscript image 0126 · Manuscript image 0127
- Where
- f. 61r l.3-11 (image 0126); f. 61v l.1-4 (image 0127)
- Signs
- 113 (by-eye record keys_eye/61r.3.json)
- Signs per line in the by-eye record
- 61r_l03: 13, 61r_l04: 13, 61r_l05: 13, 61r_l06: 12, 61r_l07: 14, 61r_l08: 13, 61r_l09: 14, 61r_l10: 13, 61r_l11: 8
- Word groups reported in the earlier record (61r.3)
- 37
- Sign inventory (61r.3)
- invented letter-like glyphs: an ayn-like hook (most frequent, opens many groups), ha/jim curve, U, Pi (П), H and a barred H, Y on a bar, ^, <, 4-like, arrow on a stem, small circle on a bar, ra-tail; dividers a stroke with three dots above (like a dotted alif)
Signs in reading order
61r_l03: S1 S2 | S3 S4 S5 S6 | S7 S8 | S3 S9 S10 | S3 S9 61r_l04: S11 S6 | S12 S8 | S3 S13 S14 | S3 S12 S15 S14 | S3 S16 61r_l05: S8 | S13 S6 | S1 S2 | S3 S10 S17 S8 | S8 S15 | S3 S18 61r_l06: S19 | S3 S11 S9 | S3 S13 S4 | S16 S8 | S20 S8 | S21 61r_l07: S19 | S3 S9 S4 S1 | S20 S22 | S3 S6 S5 | S3 S16 S15 S5 | 61r_l08: S3 S19 S9 | S3 S6 S2 | S3 S23 S11 S2 | S3 S16 S11 | 61r_l09: S3 S7 S8 S12 | S3 S13 S19 | S6 S19 | S20 S9 | S3 S24 S11 | 61r_l10: S3 S18 S19 S8 | S3 S17 S7 S2 | S10 S21 S2 | S17 S19 | 61r_l11: S3 S12 S2 S2 | S3 S20 S2 S1
02 Reading
Full transcription
صل اقطع مر انه انفع ضر ابك اضحك اسر بع صل اهجر رح اغد افن ابق شر خر زد انقص خذ اعط اشحط ادن اعل اسفل اشف امرض ابد عد خن اوف اغدر اجمل هزل جد اضلل اخلص(as enciphered, from the by-eye key in keys_eye/61r.3.json; written copy 61v l.1-4; answered in full)
English translation
This translation follows the manuscript’s clear copy as recorded in the corpus translation files. Where it differs, the Arabic above follows the sign alignment.
(following the record's by-sense division: صل اقطع مر انه ... اسر بع ... اغد افن ... خر زد ... خذ اعط ... اجمل اهزل ... اخلص): - Join, cut off; command, forbid; profit, harm; weep, laugh; [اسر], sell; join, forsake; go at evening, - go at morning; destroy, spare; [شر خر?]; add, take away; - take, give; go far, come near; rise high, go low; heal, make ill; begin, go back; - betray, keep faith; be treacherous, be fair; jest, be in earnest; go astray, be sincere.
not scanned. The record says the "four verses" are written as two long lines of verse over four page lines. a string of paired opposites, all in the imperative. Most pairs are plain: صل / اقطع, مر / انه, انفع / ضر, ابك / اضحك, رح / اغد (going at evening / at morning, across the line), افن / ابق, زد / انقص, خذ / اعط, اشحط / ادن, اعل / اسفل, اشف / امرض, ابد / عد, خن / اوف, اغدر / اجمل, اهزل / جد, اضلل / اخلص. Two places are open. اسر is set against بع "sell", which would want اشر "buy" (see the suspected errors). شر خر is doubtful (record) and is left as a gap. The compiler calls the piece four verses by Ibn al-Majd al-Mawsili the preacher (61r l.1-2; not checked). He chose it because the master had asked for something hard to solve, to test his mind (60v l.13). The master solved it after some days and wrote under it that it is "more like riddles (hazazir) than ciphers". After that the record's text of 61v l.5-10 quotes two more verses, one introduced as "the first" and the other as "the fourth, after the two mentioned": اربي محض ودي ... مرخصي and فما انت الا انت في كل حالة وما انا الا ذاك غير مخلص ("You are none other than yourself in every state, and I am none other than that one, not sincere [?]"). They rhyme in -si, as انقص and اخلص do here. My reading of that doubtful passage is that the master supplied the first and fourth verses of a four-verse poem whose second and third were the cipher. That would explain "four verses". The record's words are marked doubtful, so this is a guess. The compiler's praise of the solution follows (61v l.11 to 62r l.2); it is translated at the end. 61r l.1-2: "... so I wrote, among (them), four verses by Ibn al-Majd al-Mawsili the preacher"; 61r l.12-13: "it stayed with him some days, then he solved it and wrote under it in his blessed hand: may God not reproach our lord"; 61v l.5-10: "this, by God, ... it is more like riddles than ciphers, and if our lord orders that the like of it be written for him, then in God's name" (record's text and rendering, words doubtful).
Translation notes and confidence
03 Key
The signs of this cipher’s alphabet, with the Arabic letter each stands for in the key rebuilt from the compiler’s plaintext (24 signs, 112 occurrences placed on the page). The key was read by eye and then checked sign by sign in the master list of all signs, where every occurrence can be seen; the number links there.
| Sign | On the page | Letter | Times |
|---|---|---|---|
| S1 | ص | 4 | |
| S2 | ل | 9 | |
| S3 | ا | 24 | |
| S4 | ق | 3 | |
| S5 | ط | 3 | |
| S6 | ع | 6 | |
| S7 | م | 3 | |
| S8 | ر | 8 | |
| S9 | ن | 6 | |
| S10 | ه | 3 | |
| S11 | ف | 5 | |
| S12 | ض | 4 | |
| S13 | ب | 4 | |
| S14 | ك | 2 | |
| S15 | ح | 3 | |
| S16 | ش / س | 4 | |
| S17 | ج | 3 | |
| S18 | غ | 2 | |
| S19 | د | 7 | |
| S20 | خ | 4 | |
| S21 | ز | 2 | |
| S22 | ذ | 1 | |
| S23 | س | 1 | |
| S24 | و | 1 |
04 Sources
The corpus transcriptions were made with AI assistance. The source records give the evidence and uncertainties for this cipher.
- University of Pennsylvania manuscript facsimile and metadata
- Cipher transcription
- Arabic transcription and textual evidence
- Sign-by-sign key record or inventory
Cite this page
Daniel Bourdeau, “Ibn al-Durayhim → Al-ʿAlāʾī, the patron · cipher 61r.3”, Cyphersolver, posted 29 November 2026, updated 30 November 2026, repository commit 5abf8bd9aa, https://cyphersolver.com/ljs51-cipher-61r-3.html.