do not use allahs name for such oaths which are taken to keep back from virtue piety and the welfare of mankind allah hears everything you utter and knows everything. allah does not call you to account for unintentional and meaningless oaths but will surely take you to task for oaths taken deliberately and in earnest allah is forgiving and forbearing.
ولا تجعلوا الله عرضة لأيمانكم أن تبروا وتتقوا وتصلحوا بين الناس والله سميع عليم لا يؤاخذكم الله باللغو في أيمانكم ولكن يؤاخذكم بما كسبت قلوبكم والله غفور حليم