Osama bin Laden issued a handy guide about masturbation – assuring jihadists that he approved of self-love in extreme cases.

The memo — among the documents and sizable porn stash seized in 2011, when Navy SEALs killed him in Pakistan — have now been released by the Office of the Director of National Intelligence.

The documents expose the 9/11 mastermind as a hands on leader, eager to dispense any and all advice to his sex-starved fighters.

“Another very special and top secret matters (eyes only you, my brother Abu Muhammad Salah and Samir): it pertains to the problem of the brothers who are with you in their unfortunate celibacy and lack of availability of wives for them in the conditions that have been imposed on them,” he wrote.

“We pray to God to release them. … God is not ashamed of the truth,” he continued. “As we see it, we have no objection to clarifying to the brothers that they may, in such conditions, masturbate, since this is an extreme case. The ancestors approved this for the community.”

Before issuing the call to arms to his minions suffering through dry spells, Al Qaeda’s former top dog acknowledged that some jihadis might be “ashamed” by servicing themselves, News.com.au reported.

“We wanted to reflect some more and research it, and we want to get back to you on it before you say anything about it. Give us your opinion — is it appropriate? “Can it be suggested to the brothers? If so, how?” he wrote.

“Do you think it can help solve the problem? Or do you think we should avoid proposing it, and rather stick to the recommendation of total patience and seek help through fasting?” he added.

In 2015, US officials refused to release details on the “extensive” smut collection – including sex videos — found in bin Laden’s Abbottad lair.