Abraham Lincoln actually said...
The privilege of the writ of habeas corpus shall not be suspended unless when, in cases of rebellion or invasion, the public safety may require it.
Context
Proclamation 104—Suspending the Writ of Habeas Corpus Throughout the United States
09/14/1863