临时抱佛脚

Traditional (Taiwan): 臨時抱佛腳

línshíbàofójiǎo ㄌㄧㄣˊ ㄕˊ ㄅㄠˋ ㄈㄛˊ ㄐㄧㄠˇ

Character by character

Sources