Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Hadith Lookup

iadnanmukhtariadnanmukhtar1k downloads

Inserts Hadith and Quranic ayat and passages using a reference ID from the Ḥadīth Unlocked API (https://hadithunlocked.com)

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

An Obsidian plugin that uses selected text as a reference ID to lookup and insert Quran and Hadith text and translation using the Hadith Unlocked API.

Usage

  • Within Obsdian, find and install the plugin from the Community plugins
  • Within your Obsidian Note, type in a Hadith Unlocked reference ID, e.g. quran:2:255 or bukhari:99, ideally on a new line
  • Select the reference text you typed-in ealier
  • Open the Obsidian Command palette and search for "Fetch Hadith"
  • The reference text will be replaced by the content of that reference from Hadith Unlocked

References

There are two types of references you can use with this plugin:

Quran: Single Āyah or a Range

  • quran:2:255
  • quran:baqarah:255
  • quran:3:190-194
  • quran:ta-ha:9-15
  • etc.

Hadith

  • bukhari:99
  • muslim:1
  • muslim:8a
  • etc.

Hadith Book IDs

The Book IDs you can use for Hadith references are the ones available on Hadith Unlocked. There are several books available. Browser the aḥādīth within the books and use the ID found in the browser URL. The ones currently available are:

  • The two authentics: bukhari, muslim
  • The four sunans: nasai, abudawud, tirmidhi, ibnmajah
  • The additional: ahmad, darami, hakim, ibnhibban, tabarani, nasai-kubra, bayhaqi
  • The comprehensive: suyuti
  • and more

Customization of replacement blocks

By default, the Obsidian Callout format is used to replace the reference with the contents from the Hadith Unlocked API. The API returns a JSON array as a response and the first element of the array is the referenced hadith.

The default Callout templates found in the plugin Settings can be customized as needed. The template should contain the JavaScript object-notation surrounded by {} to access different values from the response JSON.

For example, {result[0].body_en} in the Settings template would be replaced by the contents of the following JSON:

[ 
  { 
    "body_en": "Some value"
  } 
]

See the example JSON respones of Hadith Unlocked for the following references:

  • quran:2:255
  • quran:3:190-194
  • bukhari:99

Default replacement templates

  • Quran (Single Āyah)
> [!note]
> {result[0].chapter.title} {result[0].num_ar} - {result[0].body}
> 
> [[{result[0].chapter.title_en} {result[0].num}]] - {result[0].body_en}
  • Quran (Āyah Range / Passage)
> [!note]
> {result[0].chapter.title} {result[0].num_ar} - {result[0].body}
> 
> [[{result[0].chapter.title_en} {result[0].num}]] - {result[0].body_en}
  • Hadith
> [!tip] {result[0].title_en}
> {result[0].book_shortName} {result[0].num} - {result[0].chain}
> {result[0].body} 
> {result[0].footnote} – {result[0].grade.grade} ({result[0].grader. shortName})
> 
> [[{result[0].book_shortName_en} {result[0].num}]] - {result[0].chain_en}
> {result[0].body_en}
> {result[0].footnote_en} – {result[0].grade.grade_en} ({result[0].grader. shortName_en})

My Personal Tempaltes:

  • Quran (Single Āyah)
**Quran: {result[0].title_en}**
- ~~﴿{result[0].body} ۝ ﴾ ([{result[0].chapter.title} {result[0].num_ar}](https://hadithunlocked.com/{result[0].ref}))~~
> > {result[0].body_en}
  • Quran (Āyah Range / Passage)
**Quran: {result[0].title_en}**
- ~~﴿{result[0].body}﴾ ([{result[0].chapter.title} {result[0].num_ar}](https://hadithunlocked.com/{result[0].ref}))~~
> > {result[0].body_en}
  • Hadith
**Hadith: {result[0].title_en}**
- ~~«{result[0].body}» ([{result[0].book_shortName} {result[0].num_ar}](https://hadithunlocked.com/{result[0].ref}) {result[0].grade_grade})~~
> > {result[0].body_en}
HealthGood
ReviewCaution
About
Fetch Quranic āyahs and ḥadīths by selecting a Hadith Unlocked reference ID (e.g. quran:2:255, bukhari:99). Replace the reference with the sourced text and English translation from Hadith Unlocked, formatted as an Obsidian callout.
IntegrationsImportTemplating
Details
Current version
1.1.0
Last updated
7 months ago
Created
4 years ago
Updates
4 releases
Downloads
1k
Compatible with
Obsidian 0.0.0+
Platforms
Desktop, Mobile
License
Unlicense
Report bugRequest featureReport plugin
Author
iadnanmukhtariadnanmukhtar
linktr.ee/i.adnan.mukhtar
GitHubiadnanmukhtar
  1. Community
  2. Plugins
  3. Integrations
  4. Hadith Lookup

Related plugins

Make It Rain

Pull Raindrop.io bookmarks, highlights, and attachments into Markdown notes with rich metadata, smart folder structures, and native file support.

Zotero Integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.

Snipd Official

Sync Snipd podcast highlights to your vault with transcript, notes, AI summaries and metadata.

Readwise Official

Sync highlights from Readwise to your vault.

Kindle Highlights

Sync your Kindle book highlights using your Amazon login or uploading your My Clippings file.

Weread

Sync Tencent Weread highlights and annotations.

Global Book Search

Search for books in Google Books, Goodreads, Open Library and local Calibre libraries to create notes.

Granola Meetings Simple Sync

Sync your Granola meeting notes, summaries, and transcripts to your vault in a simple way using the official Granola MCP API. Customizable by template. Supports auto-linking of attendee Person notes.

JW Library Linker

Converts JW Library and Bible references to actual links in JW Library.

Granola Sync

Sync Granola notes to your vault.