A former aide to accused terror financier Osama bin Laden yesterday learned the price for making a mad courtroom dash for a federal judge last week: He won’t be able to hug his wife and seven kids when they visit him in jail.

Wadih El Hage, who stunned a packed courtroom last Tuesday when he leaped over a jury box and headed for Manhattan federal Judge Leonard Sand, was back before the judge yesterday hoping to make public a letter he’d written.

Instead, he learned that he won’t be allowed any physical contact with his family on their first visit since he was jailed last September for allegedly lying to federal agents probing bin Laden.

Sand had ruled June 14 that El Hage’s family, who are in Texas, could have physical contact with him twice over three days next month. But El Hage’s attempted attack prompted the judge to change his mind to protect prison personnel.

“What Mr. El Hage did last Tuesday in a courtroom filled, fortunately, with security people is not the result of rational thinking,” Sand noted. “What it does indicate is the depth of his feelings and his inability to control them.”

Sand also ruled that El Hage’s letter, which blames the United States for not stopping the bombings of U.S. embassies in Africa, remain under wraps to avoid the chance it contained coded messages. El Hage’s lawyer, Sam Schmidt, could put his client’s ideas in his own words, the judge ruled.