Sze Sai-lun becomes the new magistrate of Kong-do County. After a series of unresolved cases, the townspeople begin to see him as pathetic and useless. While Sai-lun was searching for evidence by a hillside, he accidentally injures himself, dropping blood on a mysterious pillow. He faints on it and discovers that the pillow encloses a spirit who can help him solve mysteries by giving him clues and riddles to solve. With the help of the pillow spirit, the townspeople begin to see a new light in Sai-lun.
施世綸在八歲那年,母親帶施探親,施卻突然失蹤,三日後才返,卻如撞邪般,變得呆滯木訥,三日內遇過的事全部失憶,左手更折斷,從此無力提物。
娥內疚自己對施的疏忽照顧,在施成長中,萬事替他安排妥當,這種過份關愛卻令施養成「凡事不用腦」的習慣,本來聰明的施,卻因疏於思考及被過度保護,反令腦袋欠缺訓練,潛藏的智慧一直被埋沒。
施自那次失蹤後,連讀書也有障礙,其母娥早知施難循正途入仕,只能捐官令施當上縣官,也算向祖宗有個交代。施背後有娥以錢通神,聘來古惑師爺協助,每每閃電破案,本來自卑的施逐步回復自信,自以為是一流好官,老婆們亦仰慕崇拜。施又到江都縣上任,以為與娘親及三個老婆又是繼續過著渡假式生活,怎料卻遇上連番奇案!
事緣一次施在荒山野嶺失足昏迷,卻發了個奇怪的夢,夢中見一胖老頭-唐多福在跪拜仙枕,夢中的施急於找出真兇破案,與福爭持仙枕,爭持間施醒來,手上卻捧有個瓦枕,剛才幻境,是夢是真?
司世伦出任孔道县新县长。喺一系列悬而未决嘅畸士之后,镇上嘅人开始觉得佢可怜,冇用。赛伦喺山坡边寻找证据时,因住整亲咗自己,血滴喺一个神秘嘅枕头上。佢就晕喺枕头上,发现枕头入面有一个精灵,佢可以通过畀佢线索同谜语嚟帮助佢解开谜团。喺枕头精神嘅帮助下,市民们开始喺西伦睇到新嘅曙光。